SetFlag (Command)
Description
Sets the state of one of the various flags that affects command behavior. You can get the value of a flag with Command.GetFlag.
You must call Command.Update if you want to update the definition of the command. In other words, the change is limited to the current command if the definition is not updated.
Scripting Syntax
Command.SetFlag( Flag, [Enabled] )
C# Syntax
Command.SetFlag( Int32, Boolean );Parameters
|
Parameter |
Type |
Description |
|
Flag |
Flag to set. |
|
|
Enabled |
True enables the flag (default), false disables it. Default Value: true |
See Also
Examples
• See Command.SetFlag.1.js
Autodesk Softimage 2011