The following methods expose the Edit UVWs Floater and its various controls, tools and settings to MAXScript.
Presses the Pan button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Zoom button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Zoom Region button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Fit button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Fit Selected button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
This zooms the selected or all the viewports to zoom to the current planar map gizmo.
<boolean> all - Determines whether the active or all the viewports get zoomed.
Exposed via unwrap interface in 3ds Max 4 and higher.
This forces the viewport and dialog to update.
Saves the current settings as the defaults.
The method takes the current state of Unwrap UVW and save it to the plugcfg directory into a file called unwrapUVW.ini. The next time the user creates an Unwrap UVW modifier this ini file will be used to set the defaults.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Loads the unwrapUVW.ini defaults into the current Unwrap UVW modifier.
Returns the state of the "Always Bring Up the Edit Window" option found in the Options menu item. When true, the Editor will auto-open each time the object is selected.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the state of the "Always Bring Up the Edit Window" option found in the Options menu item. When set to true, the Editor will auto-open each time the object is selected.
Forces an update of the menu bar.
Returns whether the edit window aspect ratio is locked or not. If the aspect ratio is not locked the image will try stretch to fit the aspect ratio of the window.
Exposed via unwrap interface in 3ds Max 4 and higher.
Returns the Editor’s upper left corner’s X coordinate relatively to the upper left corner of the Windows desktop.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Returns the Editor’s upper left corner’s Y coordinate relatively to the upper left corner of the Windows desktop.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Returns the Editor’s window width in pixels.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Returns the Editor’s window height in pixels.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the horizontal window offset.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Sets the vertical window offset.
Fits the selected element to the window.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Returns the state of the show sub-object counter option. When set to true, the count of the current sub-object selection will be displayed in the upper left corner of the Edit UVWs window.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Sets the state of the show sub-object counter option. When set to true, the count of the current sub-object selection will be displayed in the upper left corner of the Edit UVWs window.
Copy the current selection to the clipboard.
Copy/Paste allows you to copy a texture face/faces from one part or mesh to another or to a new mesh. These functions are extremely topology dependant so if you copy faces onto faces that have a different topology or face order, you will get unpredictable results.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Paste the copied values. Paste take one parameter which determines every time you paste to the same face whether the texture vertices are reoriented. For instance, if you paste a quad onto a another quad there are actually 4 possible ways you can paste it onto it. If rotate is on, every time you paste it will go onto the next variation.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Paste Instance forces the faces that are being pasted to use the vertices that the copy buffer use (NOTE you cannot paste instance across objects). This is similar to doing a regular paste and then selecting all the overlapping vertices and doing a weld. There is no rotate option with this method. As noted above Pasting faces that have a different topology or face order will result in unpredictable results.
Toggles the Lock Selected Vertices button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Hide button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Unhide button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Freeze button in the edit floater.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Unfreeze button in the edit floater.
Returns the state of the "Filter Selected Faces" checkbutton in the Editor’s status bar.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the state of the "Filter Selected Faces" checkbutton in the Editor’s status bar.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Toggles the Filter Selected Faces button in the edit floater.
Returns the state of the Display Hidden Edges option.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the state of the Display Hidden Edges option.
Returns the state of the Show Edge Distortion option in the Display menu of the Edit UVWs dialog.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Sets the state of the Show Edge Distortion option in the Display menu of the Edit UVWs dialog.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Returns the Edge Distortion Scale value.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Sets the Edge Distortion Scale value.
Returns the state of the "Show Vertex Connections" option found in the Options menu item. Vertex Connections are TV vertices that share the same geometric vertices.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the state of the "Show Vertex Connections" option found in the Options menu item. Vertex Connections are TV vertices that share the same geometric vertices.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Toggles the Vertex Connections display.
Returns true when the UVW coordinates Type-In spinners are set to Relative mode, false when in Absolute mode.
Exposed via unwrap4 interface in 3ds Max 7 and higher.
When the parameter is true, sets the UVW coordinates Type-In spinners to Relative mode. When the supplied parameter is false, sets the Type-In to Absolute mode.
Returns the current material id index filter.
Exposed via unwrap interface in 3ds Max 4 and higher.
Sets the material drop list to the index supplied.
Exposed via unwrap interface in 3ds Max 4 and higher .
Returns the number of material ids in the material id filter drop down.
Returns the state of the "Pixel Snap" checkbutton in the Editor’s status bar when the flyout is set to Pixel Snap. Always returns false when Grid Snap is set in the flyout.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Sets the state of the "Pixel Snap" checkbutton in the Editor’s status bar. Sets the flyout to Pixel Snap if necessary.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Returns a boolean value which indicated whether the mid pixels snap is used, if it is false the snap is set to the bottom right corner of the pixel, else it snaps to the center of the pixel.
Exposed via unwrap interface in 3ds Max 4 and higher.
Sets whether mid pixels snap is used. When false, the snap is set to the bottom right corner of the pixel. When true, it snaps to the center of the pixel.
Exposed via unwrap interface in 3ds Max 4 and higher.
Presses the Snap button in the edit floater.
Returns the width of the bitmap used to render 2d/3d textures to.
Exposed via unwrap interface in 3ds Max 4 and higher.
Sets the width in pixels of the bitmap used to render to for display.
Exposed via unwrap interface in 3ds Max 4 and higher.
Returns the height of the bitmap used to render 2d/3d textures to.
Exposed via unwrap interface in 3ds Max 4 and higher.
Sets the height in pixels of the bitmap used to render to the display.
Exposed via unwrap interface in 3ds Max 4 and higher.
Returns the state of the Use Bitmap Resolution as a boolean value. If false, the bitmaps are rendered using the RenderWidth/Height values.
Exposed via unwrap interface in 3ds Max 4 and higher.
Set to true to use the bitmap resolution, false to use the render width and height.
The custom toolbars and floaters are stored in a file called "UnwrapToolBar.ini" found in the current \plugcfg folder accessible through getDir #plugcfg . Note that you have to close the current 3ds Max session in order to make manual changes to this .ini file.
Available in 3ds Max 2012 and higher.
Available in 3ds Max 2012 and higher.
Available in 3ds Max 2012 and higher.
Available in 3ds Max 2012 and higher.
NEW in 3ds Max 2012: Get/set the visible state of the custom toolbars.
<void><Unwrap_UVW>.AddToolBar <integer>owner <string>name <integer>pos <integer>x <integer>y <integer>width <boolean>popup
Adds a new toolbar to the Edit UVWs Floater's UI.
Exposed via unwrap6 interface in 3ds Max 2012 and higher.