Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbAnnotationScale::matchScaleId Method
Syntax
C++
virtual bool matchScaleId(OdIntPtr id) const;

Returns whether a specified ID matches the annotation scale ID. 

 

Parameters
Description
id
[in] The ID to compare with the annotation scale ID.

This function is typically used if an Xref object that has its own annotation scale is attached to a drawing. Because the annotation scale used by the Xref object may be the same as the annotation scale used by the source drawing, this function is used to determine which annotation scale is being referenced. When referencing an annotation scale that you want saved in the drawing, do not reference the annotation scale of the Xref object since it is temporary and will be removed if the Xref object is detached or removed from the drawing.

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