Category Drawings and detail, Object ProDwg

Function ProDwgLayerDisplaystatusSet


Description
Sets the display status of the specified layer and view.
Replacement in Object TOOLKIT: pfcView2D::SetLayerDisplayStatus
Synopsis
#include <ProLayer.h>
ProErrorProDwgLayerDisplaystatusSet(
ProLayer* layer
/* (In)
The layer whose status you want to set
*/
ProView view
/* (In)
The view in which you want to set the layer status
*/
ProLayerDisplay display_status
/* (In)
The display status
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the status.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid
PRO_TK_E_NOT_FOUNDThe specified layer was not found.
PRO_TK_CANT_MODIFYdisplay status of the layer cannot be changed

Manual References:

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

Sample Code References:

  1. pt_examples ( TestLayer.c )