getnode
getnode |
Purpose
Get the ID (node number) of the Mosel instance of a model.
Synopsis
function getnode(mo:Model):integer
function getnode(mi:Mosel):integer
Arguments
mo
|
A model
|
mi
|
A Mosel instance
|
Return value
ID of the instance on which the model is loaded as an integer or
-1 if the model has not been loaded
Further information
1. This function returns the node number of the current instance if the provided model is local.
2. When applied to a Mosel instance this function returns the same information as
getid.
Module