Interface: tmGizmos

The tmGizmos Core Interface provides access to the properties of the new Transform Gizmo introduced in 3ds Max 5.

Interface: tmGizmos

Properties:

.useGizmo : boolean : Read|Write

Check whether the gizmo is enabled / Enable the gizmo.

.size : integer : Read|Write

Get/Set the size of the gizmo

.useLabels : boolean : Read|Write

Get/Set the labels visibility.

.planeOpacity : float : Read|Write

Get/set the opacity value of the gizmo plane.

Note:

This is an advanced property accessible only though MAXScript.

.useCenterBox : boolean : Read|Write

Check whether the center box is enabled / Enable the center box.

Note:

This is an advanced property accessible only though MAXScript.

.usePlanes : boolean : Read|Write

Check whether planes are enabled / Enable the planes.

.movePlaneHandleSize : float : Read|Write

Get/set the plane handles’ size

.movePlaneHandleOffset : float : Read|Write

Get/set the plane handles’ offset

.centerBoxType : enum : Read|Write

centerBoxType enums: {#screen|#activeGrid}

Get/Set the type of the center box.

.freeRotate : boolean : Read|Write

Check whether free rotation mode is enabled / Enable free rotation mode.

.screenHandle : boolean : Read|Write

Check whether the screen handle is enabled / Enable the screen handle.

.uniformPlaneScaling : boolean : Read|Write

Check whether the uniform plane scaling mode is enabled / Enable the uniform plane scaling mode.

.uniformScaleHandleSize : float : Read|Write

Get/Set the size of the uniform scale handle

.scalePlaneHandleSize : float : Read|Write

Get/Set the size of the scale plane handle

.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

.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.

.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.

.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.

.rotationPlanarThreshold : float : Read|Write

Get/Set the rotation planar threshold value.

.dragX : float : Read|Write

Get/Set the screen X coordinate of the rotation gizmo’s mouse click&drag position.

Note:

This property has been exposed for internal use only.

.dragY : float : Read|Write

Get/Set the screen Y coordinate of the rotation gizmo’s mouse click&drag position.

Note:

This property has been exposed for internal use only.

.vecX : float : Read|Write

Get/Set the X component of the rotation gizmo’s drag vector.

Note:

This property has been exposed for internal use only.

.vecY : float : Read|Write

Get/Set the Y component of the rotation gizmo’s drag vector.

Note:

This property has been exposed for internal use only.

The following properties have been exposed to MAXScript in 3ds Max 5.1:

.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.

.moveGizmoRelativeSize : float : Read|Write

Get/Set the Move gizmo’s relative size

.rotateGizmoRelativeSize : float : Read|Write

Get/Set the Rotate gizmo’s relative size

.scaleGizmoRelativeSize : float : Read|Write

Get/Set the Scale gizmo’s relative size

.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.

.perpsectiveSensitivity : float : Read|Write

Get/Set the Perspective Sensitivity value. Corresponds to the Pers.Sens. value under Customize>Preferences>Gizmos>Move/Rotate Transforms

.rotationIncrement : float : Read|Write

Get/Set the Rotation Increment value. Corresponds to the Rotation Increment value under Customize>Preferences>Gizmos>Move/Rotate Transforms

.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