RELOAD_MODEL

Utility/Data Access SubroutineRELOAD_MODEL is used to load a model defined in a MotionSolve XML input file into memory and make it the current model. This subroutine can only be called from a user-written CONSUB.

Format

Fortran Calling Syntax
CALL RELOAD_MODEL (xml_file_name, mrf_file_name, h3d_file_name, errflg)
C/C++ Calling Syntax
c_reload_model (xml_file_name, mrf_file_name, h3d_file_name, errflg);
Python Calling Syntax
errflg = py_reload_model (xml_file_name, mrf_file_name, h3d_file_name)
MATLAB Calling Syntax
errflg = m_reload_model (xml_file_name, mrf_file_name, h3d_file_name)

Attributes

xml_file_name
[string]
Specifies the name of the file in which the model that is to be loaded resides.
mrf_file_name
[string]
Specifies the name of the MotionSolve Results File (.mrf) in which the new model results are to be saved.
h3d_file_name
[string]
Specifies the name of the H3D output file (.h3d) in which the animation results for the new model are to be saved.

Output

errflg
The result of calling RELOAD_MODEL.
false = Success

Comments

errflag is set to true if the call to RELOAD_MODEL is not successful.