Library | File

Class wfcLayerItem

# include <wfcLayerState.h>

class wfcLayerItem
 : public virtual pfcObject
{
    xaideclare(wfcLayerItem)
    ...
};



Description

Provides the information of layer item.
Direct Known Subclasses:
wfcWLayer, wfcWSolidGeometryLayerItem, wfcWAxis, wfcWSurface, wfcWCurve, wfcWCsys, wfcWEdge, wfcWQuilt, wfcAnnotation, wfcAnnotationElement, wfcWXSection, wfcWFeature, wfcWRefDimension, wfcWUDFDimension, wfcWDimension2D, wfcWNote, wfcWTable



Method Summary

voidAddNoUpdate (pfcLayer_ptr Layer)
Adds the specified item to a layer.
pfcLayers_ptrGetLayers (optional pfcDrawing_ptr Drawing)
Finds all layers containing the given item.
xboolIsLayerItemVisible (optional pfcView_ptr View)
Returns the visibility status for the specified layer item.
voidRemoveNoUpdate (pfcLayer_ptr Layer)
Removes the specified item from the layer and does not do model tree update.



Method Detail

xboolIsLayerItemVisible (optional pfcView_ptr View)

Returns the visibility status for the specified layer item.
Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
View
 
Returns:
 



voidRemoveNoUpdate (pfcLayer_ptr Layer)

Removes the specified item from the layer and does not do model tree update.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The specified layer was not found.

pfcXToolkitInvalidName - You specified an invalid layer name.

pfcXToolkitInvalidType - You specified an invalid layer item type.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Layer
 
Returns:



pfcLayers_ptrGetLayers (optional pfcDrawing_ptr Drawing)

Finds all layers containing the given item.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The item is not found on any layers in the designated model.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Drawing
 
Returns:
 



voidAddNoUpdate (pfcLayer_ptr Layer)

Adds the specified item to a layer.

Exceptions thrown (but not limited to):

pfcXToolkitInvalidName - You specified an invalid layer name.

pfcXToolkitInvalidType - You specified an invalid type in the ProLayerItem structure.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Layer
 
Returns: