Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlActiveGet


Description
Initializes the p_handle with the active Creo Parametric object.
Replacement in Object TOOLKIT: pfcBaseSession::GetActiveModel
Synopsis
#include <ProAssembly.h>
ProErrorProMdlActiveGet(
ProMdl* p_handle
/* (Out)
The model handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_CONTEXTThe active Creo Parametric object is not set.

Manual References:

  1. Core: Models and Model Items: Identifying Models
  2. Core: Models and Model Items: Identifying Models