Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerDisplaystatusGet


Description
Retrieves the visibility status for the specified layer.
Replacement in Object TOOLKIT: pfcLayer::Status
Synopsis
#include <ProLayer.h>
ProErrorProLayerDisplaystatusGet(
ProLayer* layer
/* (In)
The layer whose status you want to retrieve
*/
ProLayerDisplay* display_status
/* (Out)
The display status
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDThe specified layer was not found.
PRO_TK_INVALID_NAMEYou specified an invalid layer name.

Manual References:

  1. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Models and Model Items: Layers
  3. Core: Models and Model Items: Layers
  4. Technical Summary of Changes for Creo 4.0 F000: Support for Legacy Pro/TOOLKIT Functions

Sample Code References:

  1. pt_examples ( TestLayer.c )
  2. pt_examples ( TestLayer.c )
  3. pt_userguide ( UgModelLayerScan.c )