HyperWorks Solvers

Constraint: User

Constraint: User

Previous topic Next topic Expand/collapse all hidden text  

Constraint: User

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  
hmtoggle_plus1greyXML Format

Command Element

Description

Modifies a Constraint_UserConstr element.

Format

< Constraint_UserConstr

   id                    =  "integer"

   usrsub_dll_name       =  "valid_path_name"

   usrsub_param_string   =  "USER( [[par_1 [, ...][,par_n]] )"

   usrsub_fnc_name       =  "string"

</Constraint_UserConstr>

Attributes

id

Element identification number, (integer>0).  This number is unique among all Constraint_UserConstr elements.

usrsub_dll_name

Specifies the path and name of the DLL or shared library containing a user subroutine.  MotionSolve uses this information to load the user subroutine in the DLL at run time.

usrsub_param_string

The list of parameters that are passed from the data file to the user defined subroutine, UCOSUB.  This attribute is common to all types of user subroutines and scripts.

usrsub_fnc_name

Specifies an alternative name for the user subroutine UCOSUB.

Example

<Constraint_UserConstr

    id                  = "1"

    usrsub_param_string = "USER(1,30101010,30101,1,30101010,30102)"

    usrsub_dll_name     = " UCOSUB">

</Constraint_UserConstr>

See Also:

Command Statements

Model Statements

Functions

Notation and Syntax