07-19-2023, 02:50 PM
MAXScript access was actually added a long time ago
Here's an example of taking an object and adding a tySelect modifier to it, and changing the selection mode:
Here's an example of taking an object and adding a tySelect modifier to it, and changing the selection mode:
Code:
addmodifier $ (tySelect())
tySel = $.modifiers[1]
tySel.removeSelector 0 --remove the default selector
tySel.addSelector() --add a new selector
tySel.gizmo__box.selectionMode = 8 --access a selector (by name) and change its mode (in this case, to 'random' selection mode)