Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerDefLayerGet


Description
Retrieves the name of the default layer of the specified type.
Replacement in Object TOOLKIT: wfcLayerState::GetDefaultLayer
Synopsis
#include <ProLayer.h>
ProErrorProLayerDefLayerGet(
ProDefLayerType def_layer_type
/* (In)
The type of default layer.
*/
ProName def_layer_name
/* (Out)
The name of the default layer. This argument is empty if a default layer is not set.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestLayer.c )
  2. pt_examples ( TestLayer.c )