Go to: Synopsis. Flags. Return value.
showManipCtx(
<unique context name>
, [incSnap=[int, boolean]], [incSnapRelative=[int, boolean]], [incSnapUI=boolean], [incSnapValue=[int, float]], [lockSelection=boolean], [showUniversalManip=boolean], [toggleIncSnap=boolean], [toolFinish=script], [toolStart=script])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
showManipCtx is undoable, queryable, and editable.
This command can be used to create a show manip context. The show manip
context will display manips for all selected objects that have valid
manips defined for them.
incSnap, incSnapRelative, incSnapUI, incSnapValue, lockSelection, showUniversalManip, toggleIncSnap, toolFinish, toolStart
| Long name (short name) |
[argument types] |
Properties |
toolStart(ts)
|
script
|
 
|
|
Supply the script that will be run when the user first
enters the script
In query mode, this flag needs a value.
|
|
toolFinish(tf)
|
script
|
 
|
|
Supply the script that will be run when the user exits
the script.
In query mode, this flag needs a value.
|
|
incSnap(incSnap)
|
[int, boolean]
|
  
|
|
If true, manipulator owned by context will use incremental snapping for specified mode.
In query mode, this flag needs a value.
|
|
incSnapRelative(isr)
|
[int, boolean]
|
  
|
|
If true, manipulator owned by context will use relative incremental snapping for specified mode.
In query mode, this flag needs a value.
|
|
incSnapValue(isv)
|
[int, float]
|
  
|
|
Supply the step value which manipulator owned by context will use for specified mode.
In query mode, this flag needs a value.
|
|
toggleIncSnap(tis)
|
boolean
|

|
|
Toggles (enables/disables) snapping for all modes
|
|
incSnapUI(isu)
|
boolean
|
|
|
Returns an array of elements indicating what kind of inclremental snap UI
required by the manipulator owned by the context.
If no UI required, result array will contain the only element of 0;
The meanings of other values are:
1 - UI for linear incremental translate;
2 - UI for incremental rotate;
3 - UI for inclremental scale.
In query mode, this flag needs a value.
|
|
lockSelection(ls)
|
boolean
|
 
|
|
If true, this context will never change the current selection.
By default this is set to false.
In query mode, this flag needs a value.
|
|
showUniversalManip(sum)
|
boolean
|
 
|
|
If true, this context will show the universal manipulator.
By default this is set to false.
In query mode, this flag needs a value.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
string (name of the newly created context)
Return to Autodesk Index