HyperWorks Solvers

User Defined Program Control

User Defined Program Control

Previous topic Next topic Expand/collapse all hidden text  

User Defined Program Control

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

Command Element

Description

Defines a UserProgramControl command.

Format

<UserProgramControl

    usrsub_param_string = "USER(0,-9810,0)"

    usrsub_dll_name     = "NULL"

/>

Attributes

usrsub_param_string

Passes up to 30 parameters to CONSUB to control one or more simulations.

usrsub_dll_name

The name of the user subroutine DLL file.

hmtoggle_plus1greyPython Format

Command Element

Description

Modifies a CONTROL command.

Declaration

def CONTROL(FUNCTION="", ROUTINE="", INTERPRETER="", SCRIPT=""):

Attributes


FUNCTION

Passes up to 30 parameters to CONSUB to control one or more simulations.

ROUTINE

Specifies an alternative name for the user subroutine CONSUB.

INTERPRETER

Specifies the interpreted language that the user script is written in.  Valid choices are MATLAB or PYTHON.

SCRIPT

Specifies the path and name of the user written script that contains the routine.

Comments

See UserProgramControl


See Also:

CONSUB

Command Statements

Model Statements

Functions

Notation and Syntax