KitchenDraw SDK 2
Show / Hide Table of Contents

Property HostedObjectsOnAllLevels

HostedObjectsOnAllLevels

Provides access to the objects hosted by the object, and to the objects hosted by the objects hosted by the object, and so on.

Declaration
public IEnumerable<Scene.Object> HostedObjectsOnAllLevels { get; }
Property Value
Type Description
IEnumerable<Scene.Object>
Remarks

Hosted are the objects of the scene that are connected to some other object after being placed. This is something similar to a parent/component relationship but unlike the latter, the host link is not pre-established in the catalog. It is established during the placement of the objects in the scene.

Attention: this list is based on the hosted object ranks internally. This means for you that the result is unpredictable if you try to link/unlink a hosted object while enumerating the list. For that purpose, please make a copy of the list before that.

In this article
Back to top Generated by DocFX