KitchenDraw SDK 2
Show / Hide Table of Contents

Method GetObjectById

GetObjectById(int)

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

Declaration
public Scene.Object GetObjectById(int objectId)
Parameters
Type Name Description
int objectId

Id of an object.

Returns
Type Description
Scene.Object

An object with given id.

Exceptions
Type Condition
Sdk2Exception

If object id is not valid.

In this article
Back to top Generated by DocFX