Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbXRefManExt::addNewXRefDependentLayer Method (OdDbObjectId, const OdString&)
Syntax
C++
static OdDbLayerTableRecordPtr addNewXRefDependentLayer(OdDbObjectId xRefBlockId, const OdString& layerName);

Adds an Xref dependent layer to the specified Xref block. 

 

Parameters
Description
xRefBlockId
[in] Object ID of the Xref Block Table Record.
layerName
[in] Name of the layer.

Returns a SmartPointer to the newly added Layer Table Record. Returns a null SmartPointer if Trace opened for editing.

Copyright © 2002-2022. Open Design Alliance All rights reserved.