ProOptimizer : Modifier

ProOptimizer - superclass: modifier; super-superclass:MAXWrapper - classID:#(1056067556, 1496462090) 

Value > MAXWrapper > Modifier > ProOptimizer

The ProOptimizer Modifier is an advanced geometry optimization modifier similar to the Optimize and MultiRes modifiers but providing additional features like symmetry support and normals preservation.

In addition, the ProOptimizer system provides means for batch-optimizing multiple files and objects.

It is available in 3ds Max 2010 and higher.

   

Constructor

ProOptimizer ... 

Properties

Optimization Level

<ProOptimizer>.VertexPercent (Vertex) : float   

Get/set the vertex percent value.

   

<ProOptimizer>.VertexCount (Vertex_Count) : integer 

Get/set the vertex count value.

   

<ProOptimizer>.Calculate: boolean 

Get/set the calculation value.

When set to true, the modifier will calculate the optimization data if the current value is false, or recalculate the data if the current value is true.

When set to false, the optimization data will be released.

The value can be queried to determine whether the optimization data has been calculated (true) or not (false).

   

Optimization Options

<ProOptimizer>.OptimizationMode (Optimization_Mode) : integer 

Get/set the optimization mode. The value corresponds to the radio buttons selection in the User Interface. Possible values are:

0 - Crunch Borders

1 - Protect Borders

2 - Exclude Borders

   

<ProOptimizer>.LockMat (Keep_Material_Boundaries) : boolean 

Get/set the state of the Keep Material Boundaries option.

   

<ProOptimizer>.KeepUV (Keep_Textures) : boolean 

Get/set the state of the Keep Textures option.

   

<ProOptimizer>.LockUV (Keep_UV_boundaries) : boolean 

Get/set the state of the Keep UV Boundaries option.

   

<ProOptimizer>.ToleranceUV (Tolerance_UV) : float 

Get/set the Keep UV Boundaries Tolerance value.

   

<ProOptimizer>.KeepVC (Keep_Vertex_Colors) : boolean 

Get/set the state of the Keep Vertex Colors option. When set to true, the Vertex Color channel will be preserved.

   

<ProOptimizer>.LockVC (Keep_VC_boundaries) : boolean 

Get/set the state of the Keep Vertex Colors Boundaries option.

   

<ProOptimizer>.ToleranceVC (Tolerance_VC) : integer 

Get/set the Vertex Colors Tolerance value.

   

<ProOptimizer>.KeepNormals BooleanClass default: false -- boolean; Keep_Normals 

Get/set the state of the Keep Normals option.

   

<ProOptimizer>.NormalMode Integer default: 1 --integer; Normal_Mode 

Get/set the Normal Mode radio button selection value.

Possible values are:

0 - Crunch Normals

1 - Protect Normals

2 - Exclude Normals

   

<ProOptimizer>.NormalThreshold Float default: 10.0 -- float; Normal_Threshold 

Get/set the Normal Threshold value.

   

<ProOptimizer>.MergePoints (Merge_Vertices) : boolean 

Get/set the state of the Merge Vertices option.

   

<ProOptimizer>.MergePointsThreshold (Merge_Vertices_Threshold) : float 

Get/set the Merge Vertices Threshold value.

   

<ProOptimizer>.MergeFaces (Merge_Faces) : boolean 

Get/set the state of the Merge Faces option.

   

<ProOptimizer>.MergeFacesAngle (Merges_Faces_Threshold) : float 

Get/set the Merge Vertices Threshold Angle value.

   

<ProOptimizer>.PreserveSelection (Preserve_selection) : boolean 

Get/set the state of the Preserve Selection option. When set to true, the sub-object selection will be preserved.

   

<ProOptimizer>.InvertSelection (Invert_selection) : boolean 

Get/set the state of the Invert Selection option. When set to true, the sub-object selection will be inverted.

Symmetry Options

   

<ProOptimizer>.SymmetryMode (Symmetry_Mode) : integer 

Get/set the Symmetry mode. Possible values are:

0 - No Symmetry(default)

1 - XY Symmetry

2 - YZ Symmetry

3 - XZ Symmetry

   

<ProOptimizer>.SymmetryTolerance (Symmetry_Tolerance) : float 

Get/set the Symmetry Tolerance value.

Advanced Options

   

<ProOptimizer>.CompactFaces (Compact_faces) : boolean 

Get/set the state of the Compact Faces option.

   

<ProOptimizer>.PreventFlip (Prevent_flip) : boolean 

Get/set the state of the Prevent Flip option.

   

Related Interfaces:

Interface: BatchProOptimizer

   

See Also