Interfaces > Core Interfaces > BatchProOptimizer |
This Interface provides access to the Batch Processing feature of the ProOptimizer modifier.
Available in 3ds Max 2010 and higher.
Get/set the internal value equivalent to the index of the "Source Directory" radio buttons selection.
0 - File Selection - uses the files array specified via the BatchProOptimizer.SourceFileFiles property.
Get/set the array of source files to process when the . SourceFileMode property is set to 0. Default is #().
Get/set the source directory to process when the . SourceFileMode property is set to 2. Default is ""
Get/set the state of the internal option equivalent to the "Include Subdirectories" checkbox.
Get/set the internal value equivalent to the Optimization Level Mode radio buttons selection.
1 - Automatic Vertex % (default)
Get/set the value equivalent to the first optimization level value. Default value is 25.
Get/set the value equivalent to the second optimization level value. Default value is 50.
Get/set the value equivalent to the third optimization level value. Default value is 65.
Get/set the value equivalent to the fourth optimization level value. Default value is 75.
Get/set the value equivalent to the fifth optimization level value. Default value is 90.
Get/set the value equivalent to the "Optimization Levels" value. Default value is 9.
Get/set the internal value equivalent to the Optimize Borders mode radio buttons.
Get/set the internal value corresponding to the "Optimize Hidden Objects" checkbox.
Get/set the internal value corresponding to the "Merge Vertices" checkbox.
Get/set the internal value corresponding to the "Merge Vertices Threshold" value.
Get/set the internal value corresponding to the "Merge Faces" checkbox.
Get/set the internal value corresponding to the "Merge Faces Threshold" value.
Get/set the internal Boolean value equivalent to the "Keep Material Boundaries" checkbox.
Get/set the internal Boolean value equivalent to the "Keep Textures" checkbox.
Get/set the internal Boolean value equivalent to the "Keep UV Boundaries" checkbox.
Get/set the internal Floating Point value equivalent to the "UV Tolerance (0.0 to 1.0)" field. Default is 0.0.
Get/set the internal Boolean value equivalent to the "Keep Vertex Colors" checkbox. Default is false.
Get/set the internal Boolean value equivalent to the "Keep VC Boundaries" checkbox. Default is true, but is only used if .KeepVertexColor is true.
Get/set the internal integer value equivalent to the "RGB Tolerance (0 to 255)" field. Default is 128.
Get/set the internal integer value equivalent to the Symmetry Options mode radio buttons selection.
Get/set the internal integer value equivalent to the "Tolerance (0 to 100%)" field's value.
Get/set the internal integer value equivalent to the File Name Mode radio buttons selection.
0 - Number by order of creation (scene1, scene2, scene3...)
1 - Number by optimization level (scene25, scene50, scene75...)
Get/set the internal Boolean value equivalent to the "Auto rename duplicate files" checkbox.
Get/set the internal integer value equivalent to the Optimized Files Directory mode radio buttons selection.
0 - In the same directory as the source files
1 - In a subdirectory of the source files
2 - In the selected directoty(default)
Get/set the name of the destination folder to use when .DestFolderMode is set to 1 or 2. Default is ".\Results" which is a relative directory to the currently optimized file's path.
Get/set the internal Boolean value equivalent to the "Re-create directory Tree" checkbox.
Get/set the internal integer value equivalent to the Optimized Files Format mode radio buttons selection.
0 - Keep source file format if possible, otherwise convert to selected format (default)
1 - Convert to the selected format
Get/set the internal string vale defining the file format extension to use. Default is ".obj". Note that the Batch Optimizer uses a drop-down list in the User Interface in interactive mode.
Get/set the internal Boolean value equivalent to the "Apply Modifier" checkbox in the Utility's User Interface. When set to true, ProOptimizer modifiers will be added to the objects in the batch-processed scenes. When set to false, only existing modifiers will be used without adding new ones.
Performs the batch optimization according to the settings specified using the above properties.