PRODUCT FOCUS
3ds Max 2021
by: Brian Chapman
Customize 3ds Max with Script Buttons
➲W
e can use script buttons to assist us with production. First, we need to create a custom toolbar. Select the Customize Menu, and then, Customize User Interface. Inside the Customize User Interface dialogue box, select Toolbars and choose New to create the toolbar and then assign it a name. Doing this will generate an empty toolbar. Drag and drop the toolbar anywhere on your screen, or dock it in your interface, just like the standard toolbars inside 3ds Max. See Figure 1. Now we’ll create the buttons. Right-click over the Listener Window text boxes on the bottom left of the 3ds Max interface and select the Open option. With the Listener Window open, we’ll create our first script. This script will allow us to apply a threshold to weld vertices and weld selected ones accordingly. The script is two lines: Script One – Weld Vertices Welding vertices is one of the most common tasks for 3D Modeling and useful to optimize and check models for disconnections. The script is below: $.weldThreshold = 1 $.EditablePoly.weldFlaggedVertices () Figure 1 6
www.augi.com
October 2020