Hi, Can you explain how you got the results in your 3rd example? I don’t understand how you got the value 14.2334 (the middle result). Cheers, o
You can get the modifier by its name: ( local o = sphere() addmodifier o (Displace () ) validmodifier o Displace o.modif…
Hi, The problem is that code executed in the maxscript listener is in global scope. What you put inside brackets is in local scope (this is why you c…
yet another option: local arr = for i = 1 to 1000 collect i as string local nums = 2 local arrays = for i = 1 to nums collect ( for j =…
or use the firstOnly parameter: refs.dependentNodes this firstOnly:true
Hi, Actually, if I understand the issue correctly, it is possible with MXS. You need to use the rollout’s category parameter: ( local def = attrib…
Hi Paul, I’m pretty sure WPF can read pressure values of a stylus device. Haven’t worked with it though. Cheers, o
I don’t know why the maxGeneration trick is needed. From what I understood from the dotNet help calling Collect() and Collect with maxGeneration shoul…
See if this is what you’re looking for: ( fn collectAllKeyTimes inSubAnim = ( local keyTimes = #() if inSubAnim != undefined then ( if isC…
Note that in max 2013 the bone ID changes whenever the list order in the UI is changed. In 2013 they changed the modifier to sort the bones in the UI …
@PEN – thanks for the answer. It’s not something specific I’m trying to do, we just had a discussion about scripting naming convention, and considere…
One important thing to know, the struct member and the struct name have to be the same. So, the above sample work, but the one below, doesn’t: struct…