I have a smart window which contain some smart object.I want to know the name of all the object at run time or list of all the object at run time.
Asked
Active
Viewed 460 times
1 Answers
0
You can check the InstanceNames property of the container, either using
{get InstanceNames hdlContainer cInstanceNames}
or
cInstanceNames = dynamic-function('getInstanceNames' in hdlContainer)
Where cInstanceNames is a comma-delimited string.
If you want to be able to recurse into the container's containers (and container's containers' containers) use the ContainerTargets property instead, which returns a list of handles, and then apply the above to each container target.

nwahmaet
- 3,589
- 3
- 28
- 35