Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLeader::attachAnnotation Method (OdDbObjectId)
Syntax
C++
virtual void attachAnnotation(OdDbObjectId annoId);

Sets the annotation entity of this Leader entity (DXF 340). 

 

Parameters
Description
annoId
[in] The Object ID of the annotation entity.

This Leader entity is appended to the persistent reactor list of the annotation entity. 

The annotation entity must be one of, or a subclass of one of, the following 

 

Name
Entity type
Description
kMText
OdDbMText
MText
kFcf
OdDbFcf
Feature control frame (Tolerance)
kBlockRef
OdDbBlockReference
Block reference

 

Other than annoId, the parameters are usually set with evaluateLeader().

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