Cloth modifier does not work with groups

Heya,

I am trying to automate some cloth simulation. I am accessing the modifier e.g. like this:

$myObject.Cloth.eraseSimulation()
$myObject.Cloth.simulate true

etc.

Everything is working fine, as long as I dont use any groups. When I add a group, all I get is a ***system exception***. Whyyy??? I am desperate!

Cheers

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hummus's picture

Damn - 3 years later... still...

Well, I'm on Max 2014 - but am witnessing the same issue.
I tried changing order of Cloth in the stack, disabling it, etc. - still - system exception.
If you have any insights - let me know. I'll dig further into this.

br0t's picture

Yes this is really weird. Any

Yes this is really weird. Any command that I tried, that accesses the cloth modifier in any form, does not work when a cloth group exists, even if that group does nothing. It miiiight be a problem of the current 3ds Max 2013 hotfix, as the script works on my older 2012 und (plain, not hotfixed) 2013 version. I will do some more tests on other machines in the university lab and hopefully I can sort this out.

Never get low & slow & out of ideas

barigazy's picture

If you think about objects

If you think about objects group then the main problem is group head (group helper), you need to filter selection only to use group members. But if you're meant on cloth modifier group then I do not know what is the reason for *system exception*

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.