Tools: ENS_TOOL
Methods:
- rawdata() : Returns the equivalent of: ensight.query(ensight.TOOL_PARAMS,obj.TOOLTYPE)
Attributes:
- DESCRIPTION : 'Tool name'
- CORE: True if the tool is one of the "intrinsic" tools (cursor,line,plane...)
- TOOLTYPE: The type of the tool as an integer: TOOL_CURSOR, TOOL_LINE, TOOL_PLANE, TOOL_BOX, TOOL_CYLINDER, TOOL_CONE, TOOL_SPHERE, TOOL_REVOLUTION, TOOL_USERDEFINED
- INDEX : The tool index
- VISIBLE: True if the tool is visible
- SELECTED: True if the tool is currently selected
For various tools these additional attributes may be available:
CURSOR:
LINE:
PLANE:
- CENTROID
- NORMAL
- ROTATION
- SIZE
BOX:
- CENTROID
- NORMAL
- ROTATION
- SIZE
CONE:
CYLINDER:
SPHERE:
REVOLUTION:
- POINT1
- POINT2
- RADIUS
- DISTANCE