Initializing help system before first use

XPRMfindmod

XPRMfindmod


Purpose
Find a model by its name or order number.
Synopsis
XPRMmodel XPRMfindmod(const char *name, int number);
Arguments
name 
Name of a model or NULL
number 
Model order number or -1
Return value
Reference to a model or NULL if the model does not exist.
Further information
In the list of loaded models, each model is characterised by its internal name (the name stored in the BIM file, not the filename) and an order number (this number is automatically assigned to the model when it is loaded). This function returns a model that is identified either by its name ( number = -1) or by its order number ( name = NULL). If both parameters are defined, the function returns a pointer to the model defined by name.
Related topics