KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetObjectById

TryGetObjectById(int, out Object)

Retrieves an object of the scene which has a given id.

Declaration
public bool TryGetObjectById(int objectId, out Scene.Object obj)
Parameters
Type Name Description
int objectId

Id of an object.

Scene.Object obj
Returns
Type Description
bool

An object with given id.

Exceptions
Type Condition
Sdk2Exception

If object id is not valid.

In this article
Back to top Generated by DocFX