Category Solids and parts, Object ProSolid

Function ProSolidDisplay


Description
Displays the specified object. Note:
  • If no model is currently displayed, the specified model will be placed in the base window.
  • If a model is already displayed in the base window, the specified model will be placed in an accessory window. The current window will not be affected.
  • If the specified model has been assigned a new window, the model will be displayed in the new window provided a model is present in the base window, else the model is displayed in the base window.
Replacement in Object TOOLKIT: wfcWSolid::DisplaySolid
Synopsis
#include <ProSolid.h>
ProErrorProSolidDisplay(
ProSolid p_handle
/* (In)
The object to display
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully displayed the object.
PRO_TK_GENERAL_ERRORThe system failed to create a window.
PRO_TK_BAD_INPUTSThe specified argument is invalid.
PRO_TK_E_FOUNDThe model is already in a window (from calling ProObjectwindowMdlnameCreate()).
See Also
ProObjectwindowMdlnameCreate

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Family Tables: Operations on Family Table Instances
  3. User Interface: Basic Graphics: Display Lists
  4. Assembly: Simplified Representations: Simplified Representations in Session
  5. Assembly: Simplified Representations: Retrieving User-Defined Simplified Representations
  6. Core: Solids, Parts, and Materials: Displaying a Solid
  7. Core: Solids, Parts, and Materials: Displaying a Solid

Sample Code References:

  1. pt_examples ( TestAsm.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestAsm.c )
  4. pt_examples ( TestProcstep.c )
  5. pt_examples ( TestProcstep.c )
  6. pt_examples ( TestFamTab.c )
  7. pt_examples ( TestSimpRep.c )
  8. pt_examples ( TestSimpRep.c )
  9. pt_examples ( TestSimpRep.c )
  10. pt_examples ( TestSimpRep.c )
  11. pt_examples ( TestSimpRep.c )
  12. pt_examples ( TestSimpRep.c )
  13. pt_examples ( UtilTree.c )
  14. pt_geardesign ( GearDesign.c )
  15. pt_geardesign ( GearDesign.c )
  16. pt_geardesign ( GearDesign.c )
  17. pt_userguide ( UgSimprepCreate.c )
  18. pt_userguide ( UgSolidLoadDisp.c )