Preview Annotations C++


#1

Hi,

I have another question about the Conduit. I am not finding a function to draw/preview Annotations (ON_LinearDimension, ON_RadialDimension, …) ?

Also I am not sure how to handle ON_Annotations in general. Is there an example on how to create them, or how to add them to the document? Without the CRhinoAnnotationObject? (for example, I can simply draw an ON_Mesh with context.m_doc.AddMeshObject() or preview it in a conduit with dp.DrawShadedMesh())

Thanks!
Milos


(Dale Fugier) #2

Hi Milos,

Yes, annotations do work different than other geometric objects. To draw them in a conduit or in a dynamic draw operation, just call CRhinoAnnotationObject::Draw().

– Dale