v4.0
Returns the name of the currently active tool in the active view as a String. An empty string is returned if the tool is not recognized.
// get accessor String rtn = XSIApplication.ActiveToolName; |
// Activate the rotation tool RotationTool(); // Get the name of the current tool var toolname = ActiveToolName; LogMessage( "current tool: " + toolname ); //INFO : "current tool: RotationTool" |