Previous section-----Next section


Constraints[cnum] returns the list of constraint expressions that were generated by constraint cnum.
Constraints[{cnum1, cnum2, ... , cnumn}] returns a list of all of the expressions in all of the specified constraints, cnumi.
Constraints[{cnum, {enum1, ... }}] returns the specified subset of the equations, enumi, in constraint cnum.
Constraints[{{cnum1, {enum, ... }}, {cnum2}, {cnum3, {enum, ... }}}] returns several parts to several different constraints.
Constraints[All] returns the entire constraint vector.
Euler] returns the Euler generalized constraints, if any exist.

• The expressions returned are numerically equal to zero when the constraints are satisfied.
• See also:
AccelerationTerms, Generalized, Loads, VelocityTerms.

Further Examples

Load the Modeler2D package and define a simple model.

Here are the constraint expressions associated with the Translate2 constraint.

Here are the constraint expressions associated with multiple constraints.

This shows that the velocity expression is zeroed by a solution to the model.

See HelpModel2D.

Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information