Notifications
Clear all

[Closed] Cloth group/constraint **system exception**

Cloth mod, works fine in 3ds max 2016. Gives ** system error ** in 3ds max 2014.

Hello,

I am trying to add makepointgroups to the cloth modifier and assign a constraint to it. but i am unsuccesfull. The first makepointgroup is succesfull, but the seconds doesnt want to add and i get an system exception, if i want to add the MakeConstraint after making the group i also get an **system exception”.

Does somebody had some advise in solving this?

I placed some example code below

clearlistener()
delete $*
current_obj=plane()
target = sphere radius:1

cloth_mod = Cloth()
addmodifier current_obj (cloth_mod)

current_obj.cloth.makepointGroup #{1…4} current_obj “vert_group_1”
current_obj.cloth.makepointGroup #{7…11} current_obj “vert_group_2”
–cloth_mod.MakeConstraint “vert_group_1” “Preserved” cur_obj
–cloth_mod.MakeConstraint “vert_group_2” “Node” target