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 Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Models and Model Items: Layers
  3. Core: Models and Model Items: Layers

Sample Code References:

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