API Reference > OdDb Classes > OdDbXRefManExt Class > OdDbXRefManExt Methods > addNewXRefDependentLayer Method > OdDbXRefManExt::addNewXRefDependentLayer Method (OdDbBlockTableRecord*, OdString&)
OdDbXRefManExt::addNewXRefDependentLayer Method (OdDbBlockTableRecord*, OdString&)
Syntax
C++
static OdDbLayerTableRecordPtr addNewXRefDependentLayer(const OdDbBlockTableRecord* pXRefBlock, const OdString& layerName);
Parameters 
Description 
const OdDbBlockTableRecord* pXRefBlock 
[in] Pointer to the Xref Block Table Record.  
const OdString& layerName 
[in] Name of the layer. 

Returns a SmartPointer to the newly added Layer Table Record.

Adds an Xref dependent layer to the specified Xref block. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.