Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbBlockReference::openAttribute Method
Syntax
C++
OdDbAttributePtr openAttribute(OdDbObjectId ObjId, OdDb::OpenMode mode, bool openErasedOne = false);

Opens an attribute owned by this block reference. 

 

Parameters
Description
mode
[in] Mode in which the attribute is to be opened.
openErasedOne
[in] If and only if true, erased objects will be opened.
objId
[in] Object ID of the attribute to be opened.

Returns a SmartPointer to the opened object if successful, otherwise a null SmartPointer.

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