Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerViewDependencySet


Description
Sets the display status of the view to either follow the display status in the drawing, or be independent from the drawing.
Replacement in Object TOOLKIT: pfcView2D::IsViewdisplayLayerDependent
Synopsis
#include <ProLayer.h>
ProErrorProLayerViewDependencySet(
ProView view
/* (In)
The view whose display status you want to set.
*/
ProBoolean depend
/* (In)
If this is PRO_B_TRUE, the view display status should follow the display status in the drawing. If this is PRO_B_FALSE, the view display status should be independent from the drawing.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the dependency.
PRO_TK_BAD_INPUTSYou specified an invalid view.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestLayer.c )