Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerDisplaystatusSave


Description
Permanently saves all the changes to the display status of all layers in the owner, and all its submodels (and views, for drawings).
Replacement in Object TOOLKIT: wfcWModel::SaveLayerDisplayStatus
Synopsis
#include <ProLayer.h>
ProErrorProLayerDisplaystatusSave(
ProMdl owner
/* (In)
The model/layer owner
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully saved all the layer status changes.
PRO_TK_NO_CHANGENo layers have been changed since the last save.
PRO_TK_BAD_INPUTSWrong argument. A model cannot have layers.

Manual References:

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

Sample Code References:

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