Interface: tmGizmos
The tmGizmos Core Interface provides access to the properties of the Transform Gizmo introduced in 3ds Max 5.
Interface: tmGizmos
Properties:
tmGizmos.useGizmo : boolean : Read|Write
Check whether the gizmo is enabled / Enable the gizmo.
tmGizmos.size : integer : Read|Write
Get/Set the size of the gizmo
tmGizmos.useLabels : boolean : Read|Write
Get/Set the labels visibility.
tmGizmos.planeOpacity : float : Read|Write
Get/set the opacity value of the gizmo plane.
This is an advanced property accessible only though MAXScript.
tmGizmos.useCenterBox : boolean : Read|Write
Check whether the center box is enabled / Enable the center box.
This is an advanced property accessible only though MAXScript.
tmGizmos.usePlanes : boolean : Read|Write
Check whether planes are enabled / Enable the planes.
tmGizmos.movePlaneHandleSize : float : Read|Write
Get/set the plane handles’ size
tmGizmos.movePlaneHandleOffset : float : Read|Write
Get/set the plane handles’ offset
tmGizmos.centerBoxType : enum : Read|Write
centerBoxType enums: {#screen|#activeGrid}
Get/Set the type of the center box.
tmGizmos.freeRotate : boolean : Read|Write
Check whether free rotation mode is enabled / Enable free rotation mode.
tmGizmos.screenHandle : boolean : Read|Write
Check whether the screen handle is enabled / Enable the screen handle.
tmGizmos.uniformPlaneScaling : boolean : Read|Write
Check whether the uniform plane scaling mode is enabled / Enable the uniform plane scaling mode.
tmGizmos.uniformScaleHandleSize : float : Read|Write
Get/Set the size of the uniform scale handle
mGizmos.scalePlaneHandleSize : float : Read|Write
Get/Set the size of the scale plane handle
tmGizmos.rotationMode : integer : Read|Write
Get/Set the rotation gizmo’s mode.
0 - "Linear Roll" mode - move the mouse along the tangents
1 - "Circular crank" mode - move the mouse around the center of the gizmo
2 - "Legacy R4" mode - old-style rotation
tmGizmos.showMiniTripod : boolean : Read|Write
Get/Set the visibility of the rotations gizmo’s mini-tripod. When set to true, a tripod will be displayed as axis reference.
tmGizmos.showPieSlice : boolean : Read|Write
Get/Set the visibility of the rotations gizmo’s pie-slice. When set to true, a pie-slice will be displayed as angle reference.
tmGizmos.showAngleData : boolean : Read|Write
Get/Set the visibility of the rotations gizmo’s angle value display. When set to true, a Point3 value will be displayed as angle reference above the gizmo.
tmGizmos.rotationPlanarThreshold : float : Read|Write
Get/Set the rotation planar threshold value.
tmGizmos.dragX : float : Read|Write
Get/Set the screen X coordinate of the rotation gizmo’s mouse click&drag position.
This property has been exposed for internal use only.
tmGizmos.dragY : float : Read|Write
Get/Set the screen Y coordinate of the rotation gizmo’s mouse click&drag position.
This property has been exposed for internal use only.
tmGizmos.vecX : float : Read|Write
Get/Set the X component of the rotation gizmo’s drag vector.
This property has been exposed for internal use only.
tmGizmos.vecY : float : Read|Write
Get/Set the Y component of the rotation gizmo’s drag vector.
This property has been exposed for internal use only.
The following properties have been exposed to MAXScript in 3ds Max 5.1:
tmGizmos.ShowMultipleTransformGizmos : boolean : Read|Write
Toggle Multiple Transform Gizmos display on/off. When set to true and in Use Pivot Point Center mode, multiple gizmos, one per object, will be displayed. When set to false, only one gizmo for all objects will be displayed. Corresponds to the Allow multiple gizmos checkbox under Customize>Preferences>Gizmos>Transform Gizmos.
tmGizmos.moveGizmoRelativeSize : float : Read|Write
Get/Set the Move gizmo’s relative size
tmGizmos.rotateGizmoRelativeSize : float : Read|Write
Get/Set the Rotate gizmo’s relative size
tmGizmos.scaleGizmoRelativeSize : float : Read|Write
Get/Set the Scale gizmo’s relative size
tmGizmos.intersectMode : boolean : Read|Write
Toggle Intersect Mode on/off. When set to true
, Move and Rotate transformations will use Intersection mode. When set to false
, Projection mode will be used. Corresponds to the radio buttons under Customize>Preferences>Gizmos>Move/Rotate Transforms.
tmGizmos.perpsectiveSensitivity : float : Read|Write
Get/Set the Perspective Sensitivity value. Corresponds to the Pers.Sens. value under Customize>Preferences>Gizmos>Move/Rotate Transforms
tmGizmos.rotationIncrement : float : Read|Write
Get/Set the Rotation Increment value. Corresponds to the Rotation Increment value under Customize>Preferences>Gizmos>Move/Rotate Transforms
tmGizmos.arcRotateSnapAngle : float : Read|Write
Get/Set the Arc Rotate Snap Angle value. Corresponds to the Viewport Arc Rotate Snap Angle value under Customize>Preferences>Gizmos>Move/Rotate Transforms