Property APIs for Native Tree Objects

A native tree object is not defined by an ACT extension. You can use these APIs as another way to interact with properties shown in the Details view. For example, assume that you have stored a variable named rectbar of a Body object with these properties shown in the Details view:

 

To see the properties visible in the Details view, you enter:

rectbar.VisibleProperties

To list all properties that could be in the Details view for an object of this type, including those that are hidden, you enter:

rectbar.Properties

You can use property APIs to get the property’s unique internal name, caption, internal value, and whether it is valid, visible, or read-only. You can also use APIName from the property APIs to see which API can be used directly on rectbar for the given Details view property, if an API exists.


Tip:  To change the internal value for any property, even one not yet wrapped by an API, you can specify the property's index value and then the current value and replacement value, entering something like this:

obj.Properties[0].InternalValue = newValue


For a scripting example, see Get All Visible Properties for a Tree Object.