cloth scripting problem introduced in 3DS Max 2013 and 2014?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  04 April 2013
cloth scripting problem introduced in 3DS Max 2013 and 2014?


Iíve narrowed down a piece of code that represents a system exception problem I am experiencing in 3ds max 2013 and 3ds max 2014 64 bit on win 8 64 bit with cloth related scripting. This code works in 3ds max 2012 without a system exception error.

addmodifier cur_obj (Cloth())
cur_obj.modifiers[#Cloth].makepointGroup #{1..cur_obj.verts.count} cur_obj ("_all")

Run the above code. It will create a sphere, add the cloth modifier and then create a group. That last line that tries to assign the group to a variable so that the script can access its properties. It gives a system exception.

I tried the other method for accessing a cloth group via maxscript:


That also returns a system exception.
Due to this, I canít change group properties via maxscript anymore. I want to run these two lines:


I could really use help with this issue. It seems to be a new problem in 3DS Max 2013 which was not in 2012. Can people please try running the code to see if the results are consistent?
Adnan Hussain
  06 June 2013
Ya, looks like a bug.


  06 June 2013
Thanks Frank. That does give me access to constraint properties. Hopefully they will fix this, as it used to work in previous versions. I did submit a bug report. The cloth tools are really powerful in Max.

  06 June 2013
The step that still can't be scripted is creating the actual constraint. I can use makepointgroup and create an unassigned group of points, but as soon as I try makeconstraint, I get the system exception error. I can't find a way to makeconstraint with the current bug.

  06 June 2013
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:56 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.