Model management
A model object is created by loading a bim file onto a Mosel instance with a call to XPRDloadmod. Once a model has been loaded, it can be run (XPRDrunmod), send events (XPRDsendevent) and possibly be interrupted before its normal termination (XPRDstoprunmod). Additional functions provide information about the last execution. Models must be unloaded using XPRDunloadmod in order to release the resources they use both on the local host and the remote instance.
XPRDgetdata |
Return the data pointer of a model.
|
XPRDgetexitcode |
Return the exit code of a model after its execution.
|
XPRDgetmosel |
Get a reference to the Mosel instance on which a model is loaded.
|
XPRDgetnumber |
Return the model number.
|
XPRDgetrmtid |
Return the ID of the model on the remote instance.
|
XPRDgetstatus |
Return the current status of a model.
|
XPRDloadmod, XPRDloadmodsec |
Load a Binary Model file onto the specified instance.
|
XPRDresetmod |
Reset a model.
|
XPRDrunmod |
Run a model.
|
XPRDsendevent |
Send an event to a running model.
|
XPRDsetdata |
Define the data pointer of a model.
|
XPRDstoprunmod |
Stop a running model.
|
XPRDunloadmod |
Unload a model.
|