The LeafFromSurfaceVarRange object can be used whenever a Leaf object is expected as an argument. 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.
The LeafFromSurfaceVarRange object is derived from the Leaf object.
import displayGroupOdbToolset
This method creates a Leaf object from surfaces with values lying in a variable range.
LeafFromSurfaceVarRange
Required arguments
Optional arguments
A Float specifying the minimum value for the variable range. The default value is –3.40282346639E38.
A Float specifying the maximum value for the variable range. The default value is 3.40282346639e+038.
A Boolean specifying the method used to evaluate the range. If insideRange=ON, the range falls inside the specified minimum and maximum values. The default value is ON.
Return value
A LeafFromSurfaceVarRange object.
Exceptions
The LeafFromSurfaceVarRange object has members with the same names and descriptions as the arguments to the LeafFromSurfaceVarRange method.
In addition, the LeafFromSurfaceVarRange object has the following member:
A SymbolicConstant specifying the leaf type. Possible values are EMPTY, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.