PDA

View Full Version : how to use interface commands? (clothops)


josh3light
06-23-2006, 08:28 PM
I am trying to make a command to erase the simulation on the cloth modifier in max 8.
In the maxscript reference I have found

<void>eraseSimulation()

in the clothops interface section.

How do I use this interface command on a certain modifier on a certain object? I know how to set properties on objects via maxscript, yet I have tried various syntax and I can't figure out how to use these interface commands successfully.

Thanks!

josh3light
06-23-2006, 08:35 PM
well I just figured it out... should have known

$.modifiers[1].erasesimulation()

I do think it would be nice for the maxscript reference to have more working examples for some of the commands, even just simple ones so that we can get the syntax correct while learning.

CGTalk Moderation
06-23-2006, 08:35 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.