Function ProMechmodelGet
Description
Obtains the root handle to a Creo Simulate geometry model. NOTE: Call
ProMdlDisplay() to display model in current active window before using this function.
If the type of geometry generated is
PRO_MECH_MODEL_SHELL or
PRO_MECH_MODEL_MIXED, the function requires the Creo Simulate license (and will attempt to obtain it if its not in session).
If the input solid (or any of its components) contains Creo Simulate Volume Region or Surface Region features, the function requires the Creo Simulate license (and will attempt to obtain it if its not in session).
Licensing Requirement
Synopsis
| ProMechmodelGet |
| ( /* (In) The root solid model (part or assembly). */ /* (In) Options for the generation of geometry. */ /* (Out) Root handle to the generated geometry. */ /* (Out) The status of generation. */ ) |
Returns
| The function succeeded. |
| Specified model was not displayed. |
| One or more input arguments are invalid. |
| The Creo Simulate session is not initialized. |
| A general error is encountered. |