Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlWindowGet


Description
Finds the window with the specified model as the top-level object.
Replacement in Object TOOLKIT: pfcBaseSession::GetModelWindow
pfcBaseSession::OpenFile
wfcWSession::OpenSource
Synopsis
#include <ProMdl.h>
ProErrorProMdlWindowGet(
ProMdl mdl
/* (In)
The model that is a top-level object
*/
int* window_id
/* (Out)
The window identifier
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully found the window.
PRO_TK_E_NOT_FOUNDThe function was not able to find the window.

Sample Code References:

  1. pt_examples ( TestMultiCADFile.c )
  2. pt_examples ( TestDbms.c )
  3. pt_examples ( TestDispObject.c )
  4. pt_examples ( TestDispObject.c )
  5. pt_userguide ( UgGraphZoomAtPoint.c )