General Constraints
Use the General Constraints tool to create a generic expression-based constraint.
MotionView provides several standard constraints such as Joints and Motions, however they may not be suitable to represent all possible modeling scenarios. A GeneralConstraint may be defined using solver expressions in such scenarios. During solution, the solver would impose constraint such that the given expression is equated to zero.
Create General Constraints
Edit General Constraints
Property | Description | |
---|---|---|
General | ||
Label | Descriptive label for the entity. | |
Varname | Variable name of the entity. | |
ID | Integer identifier. | |
Active | Active state of the entity. True or False. Entity is deactivated if False. | |
Properties | ||
Expression | A solver expression representing the constraint. | |
User Defined | Alternate option to use a user subroutine (MotionSolve only) instead of Expression with the following properties: | |
User expr | USER() expression used to call the subroutine. | |
Use local file and function name | Option to use a local subroutine file along with the function. | |
Local file | Name of the subroutine file depending on the Function Type. | |
Function Type | Type of subroutine function. Available choices are DLL/SO, PYTHON, MATLAB, COMPOSE. | |
Function name | Name of function to be called within the subroutine. | |
Use Reaction marker | Use a marker to impose reaction force (ADAMS only). | |
Reaction marker | Marker where the reaction is imposed. | |
Note | ||
Note | Optional descriptive note. |