Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

How to adress every bend modifire on scene with max script?
show user profile  ravihara
I want control the bend range of every bend modifier in my scene using a slider. how to achieve this using maxscript?

read 392 times
12/26/2013 7:25:19 PM (last edit: 12/26/2013 7:25:19 PM)
show user profile  herfst1
generally you "call" modifiers by the position in the stack they are. So if all your bend modifiers are in the top of the stack...

for $.modifiers.[1] do *

*Note: my syntax is probably way off.
read 391 times
12/26/2013 7:29:05 PM (last edit: 12/26/2013 7:30:09 PM)
show user profile  br0t
Herfst is right but you dont need the 2nd dot before the square bracket. Also if the positions in the stack vary, it may be better to address modifiers by class. I think you can do:
bends = getClassInstances "Bend"

for bnd in bends do

never get low & slow & out of ideas

read 370 times
12/26/2013 9:54:33 PM (last edit: 12/26/2013 9:55:36 PM)
show user profile  ravihara
it gives this error "getClassInstances" need max class ;got "Bend"
so how do i change one property of all those modifiers? lets say i need to make the property "angle" to 30. so how do i do this?

read 345 times
12/27/2013 12:02:20 PM (last edit: 12/27/2013 12:02:20 PM)
show user profile  br0t
yep sorry the syntax was wrong, no apostrophes needed:

bends = getClassInstances Bend
for b in bends do b.angle = 30.0

never get low & slow & out of ideas

read 326 times
12/29/2013 6:10:45 PM (last edit: 12/29/2013 6:10:45 PM)
#Maxforums IRC
Open chat window