Object ProLayerstate

Function ProLayerstateLayerAdd


Description
Add layer reference to a layer state.
Replacement in Object TOOLKIT: wfcLayerState::AddLayer
Synopsis
#include <ProLayerstate.h>
ProErrorProLayerstateLayerAdd(
ProLayerstate* layer_state
/* (In)
Layer state.
*/
ProLayer* layer
/* (In)
Layer to be added.
*/
ProLayerDisplay display_state
/* (In)
Display state of the layer to be added.
*/
)
Returns
PRO_TK_NO_ERRORLayer added.
PRO_TK_BAD_INPUTSInvalid input parameters.
PRO_TK_BAD_CONTEXTPassed models of either layer state or the layer are not of ProSolid type.
PRO_TK_E_NOT_FOUNDLayer state is not found.
PRO_TK_NOT_EXISTLayer does not exist.

Manual References:

  1. Core: Solids, Parts, and Materials: Combined States of a Solid
  2. Core: Solids, Parts, and Materials: Combined States of a Solid