Go to: Synopsis. Return value. MEL examples.
 
createNConstraint( string $constraintType, int $createSet ) 
	 
None
| Variable Name | Variable Type | Description | 
|---|---|---|
| $constraintType | string | Must be one of: "transform", "pointToSurface", "slideOnSurface", "weldBorders", "force", "match", "tearableSurface", "weldBorders", "collisionExclusion", "disableCollision" | 
| $createSet | int | if true then create a set for selected components instead of setting them on the nComponent node | 
polyPlane; createNCloth false; select -r pPlane1.vtx[0] ; createNConstraint transform false;