I tried to use expression
' '.join()
in the ‘Constrained Points’ parameter of the node in attached sample file. But it doesn’t work. I get error:
Error: constrained_points:Though this expression works in the Python shell and returns correct string of point numbers.
Error: Unable to evaluate expression (Syntax error - extra tokens detected in expression (/obj/AutoDopNetwork/clothattachconstraint1/constrainedpoints)).
Also I tried groupbyval HScript function (though not in the sample file). It returns some crazy string with negative and huge numbers. I guess it is a bug.
Any ideas? I mean - is there another method to use sop groups in dops? And where am I wrong in my expression?
P.S. There is attached sample file where above mentioned expression is used. It is very simple - just two cubes, soft body cube attached to the static one. So you can try it.
EDIT.
Well, it appears to be trivial - just set the parameter to the corresponding group name. Somehow I thought that it is not possible a priori. Maybe because there is no drop-down list for groups as in sops.