PolyToolsShift : GlobalUtilityPlugin

 

   

Graphite Modeling Tools - Quick Navigation

The PolyToolsShift Global Utility Plugin introduced in 3ds Max 2011 exposes an interface that provides MAXScript access to the Graphite Shift tools.

The functionality was first implemented in 3ds Max 2010 using different functions that were not officially supported as MAXScript tools. This interface consolidates all relevant properties and methods in one place and let MAXScript users apply them in their own tools.

Constructor:

Class instances not creatable by MAXScript 

   

PolyToolsShift interfaces:

Interface: PolyToolsShift 

Properties:

PolyToolsShift.  FullStrength: integer : Read|Write 

Get/set the Shift Full Strength value.

   

PolyToolsShift.Falloff: integer : Read|Write 

Get/Set the Shift Falloff value.

   

PolyToolsShift.UseMirror: bool : Read|Write 

Get/set the state of the Use Mirror option.

   

PolyToolsShift.Strength: integer : Read|Write 

Get/set the Strength % Value.

   

PolyToolsShift.UseSelectedVerts: bool : Read|Write 

Get/set the state of the Use Selected Vertices option.

   

PolyToolsShift.IgnoreBackfacing: bool : Read|Write 

Get/set the state of the Ignore Backfacing option.

Methods:

<bool>PolyToolsShift.StartTool() 

Enters Shift mode.

Returns true on success, false otherwise.

   

<bool>PolyToolsShiftEndTool.() 

Exits Shift mode.

Returns true on success, false otherwise.

   

<bool>PolyToolsShift.GetAxisFrozen <value>axis 

Returns the state of the Freeze Axis specified by the argument.

Possible argument values are:

#x - X axis

#y - Y axis

#z - Z axis

   

<bool>PolyToolsShift.SetAxisFrozen <value>axis <bool>onOff 

Sets the state of the Freeze Axis specified by the first argument to the Boolean value specified by the second argument.

Possible first argument values are:

#x - X axis

#y - Y axis

#z - Z axis

   

<bool>PolyToolsShift.GetAxisFrozenEdges <value>axis 

Returns the state of the Freeze Selected Edges axis specified by the argument.

Possible argument values are:

#x - X axis

#y - Y axis

#z - Z axis

   

<bool>PolyToolsShift.SetAxisFrozenEdges <value>axis <bool>onOff 

Sets the state of the Freeze Selected Edges axis specified by the first argument to the Boolean value specified by the second argument.

Possible first argument values are:

#x - X axis

#y - Y axis

#z - Z axis

   

<value>PolyToolsShift.GetMirrorAxis () 

Returns the Mirror axis as a name value.

Possible values are:

#x - X axis

#y - Y axis

#z - Z axis

   

<bool>PolyToolsShift.SetMirrorAxis <value>axis 

Sets the Mirror axis to the name value provided by the argument.

Possible values are:

#x - X axis

#y - Y axis

#z - Z axis

   

See Also