commandDefinition |
Returns the CommandDefinition object for the command the event is being fired for. |
commandId |
Returns the unique id of the command the event if being fired for. |
firingEvent |
The event that the firing is in response to. |
isCanceled |
Used during the commandStarting event to get or set if the command should be allowed to continue executing or be canceled. This defaults to false, which will allow the command to execute. Setting this to true will cancel the command and not begin the execution. This property should be ignored for all events besides the commandStarting event. |
isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
terminationReason |
Returns the reason the command is being terminated. This property should be ignored for all events besides the commandTerminated event. |