Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands.
Leaf objects have similarities to Set objects; however, Leaf objects are evaluated when the DisplayGroup expression is evaluated, and they can have SymbolicConstant values (which are also evaluated when the DisplayGroup expression is evaluated).
import displayGroupMdbToolset import displayGroupOdbToolset
This method creates a Leaf object.
Leaf
Required argument
A SymbolicConstant specifying the leaf type. Possible values are EMPTY, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.
Optional arguments
Return value
A Leaf object.
Exceptions
The Leaf object has members with the same names and descriptions as the arguments to the Leaf method.