wiki:sns:snsscript:restraints
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:sns:snsscript:restraints [2017/07/14 13:49] – claire | wiki:sns:snsscript:restraints [2017/07/14 13:49] (current) – claire | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTOC~~ | ||
| ====== Restraints Specification ====== | ====== 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.1500061743.txt.gz · Last modified: 2017/07/14 13:49 by claire