Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: [HELP]Arrays

Sure, ( — rollout definition fn createNow theButton = ( local theBox = box() … print theButton.text ) on vOK pressed do createNow vOK on vCancel…

19 years ago
Forum
Reply
RE: [HELP]Arrays

William, Wrap the code in a fn and call it for each button, but I am not sure if you want to initiate these events indirectly [without pressing the b…

19 years ago
Forum
Reply
RE: accessing mesh class on an edit mesh modifier

Aearon, Like this: attach $ $targetMesh ? Light

19 years ago
Forum
Reply
RE: accessing mesh class on an edit mesh modifier

The above code ignores the rotations so this one doesn’t: fn toggleBox = ( local sel = selection[1] local theName = sel.name local last3 = “”; for…

19 years ago
Forum
Reply
RE: accessing mesh class on an edit mesh modifier

Aearon, Although you can use the bounding box for this, I have written this fn that creates a box in place of an object and then removes it. fn togg…

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

Glad it worked for you! You can also do that by selecting 2 edges and pressing “@” which would define a range on the fly. Light

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

OK, try this: Open Pola X > Length and select a diagonal edge you want to remove and press “?” and “=”. This should select all diagonal edges that…

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

Oleg, Try using Quadrangulate. Although this has a pretty basic logic, it might work if the topology is uniform by means of indices. Light

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

Bobo: Sort of intentional. Because the script records the original positions of all vertices in an array along with the indices and vectors, setting…

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

Exactly Bobo One thing I wonder: your script doesn’t create an undo when I am adjusting the value multiple times [which is good], is it intentional?…

19 years ago
Forum
Reply
RE: Looking for unusual scale tool

Oleg, Although you have intermediate edges between those vertices, try using Push. Light

19 years ago
Forum
Reply
RE: Loading rollouts from external files

Try this: Put your rollout definitions into stdscripts folder. They will be defined when max loaded. After that you can use a script to combine them …

19 years ago
Forum
Reply
RE: Loading rollouts from external files

Are your rollouts in global scope? Light

19 years ago
Forum
Reply
RE: Dropdown list to toolbar

Antti, Maybe this does what you need: rollout new “” ( dropDownList num “” items:#(“1”, “2”, “3”) pos:[4,4] width:113 on new open do ( …

19 years ago
Forum
Reply
RE: Simple Question. Very Basic.

Jeff, Here is what I use to store arrays in INI key strings: ( local arr = for i = 1 to 100 collect i fn getArrayElements arr = ( local txt =…

19 years ago
Forum
Page 20 / 26