API Reference > OdDb Classes > OdDbXRefManExt Class > OdDbXRefManExt Methods > addNewXRefDependentLayer Method > OdDbXRefManExt::addNewXRefDependentLayer Method (OdDbObjectId, OdString&)
OdDbXRefManExt::addNewXRefDependentLayer Method (OdDbObjectId, OdString&)
Syntax
C++
static OdDbLayerTableRecordPtr addNewXRefDependentLayer(OdDbObjectId xRefBlockId, const OdString& layerName);
Parameters 
Description 
OdDbObjectId xRefBlockId 
[in] Object ID of 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–2021. Open Design Alliance. All rights reserved.