wiki:sns:snsscript:restraints
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:sns:snsscript:restraints [2017/07/14 09:30] – created zach | wiki:sns:snsscript:restraints [2017/07/14 13:49] (current) – claire | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Restraints Specification ===== | + | ~~NOTOC~~ |
| + | ====== Restraints Specification | ||
| - | ==== boolSuccess = objSnSScript.AddFaceRestraint( GUID, RestraintDescription, | + | ===== boolSuccess = objSnSScript.AddFaceRestraint( GUID, RestraintDescription, |
| This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. | This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. | ||
| Line 13: | Line 14: | ||
| |Boolean|True if the restraint was successfully added to the object, False otherwise.| | |Boolean|True if the restraint was successfully added to the object, False otherwise.| | ||
| - | ==== boolSuccess = objSnSScript.AddEdgeRestraint( GUID, RestraintDescription, | + | ===== boolSuccess = objSnSScript.AddEdgeRestraint( GUID, RestraintDescription, |
| This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. | This function restrains the face(s) specified by the face indices on the object, in the coordinate directions given by the type of restraint. Equivalent to setting a face restraint in SnS. | ||
wiki/sns/snsscript/restraints.1500046246.txt.gz · Last modified: 2017/07/14 09:30 by zach