ActiveToolName (XSIApplication)
Introduced
4.0
Description
Returns the name of the currently active tool in the active view as a String. Only the following tools from the 3D view are supported: RotationTool, ScalingTool and TranslateTool. An empty string is returned if the tool is not recognized.
C# Syntax
// get accessor String rtn = XSIApplication.ActiveToolName;
Examples
JScript Example
// Activate the rotation tool RotationTool(); // Get the name of the current tool var toolname = ActiveToolName; LogMessage( "current tool: " + toolname ); //INFO : "current tool: RotationTool"
Autodesk Softimage v7.5