Text graphics not updated in exported pdf

prakash.muthu
Advocate
Advocate

Text graphics not updated in exported pdf

prakash.muthu
Advocate
Advocate

Hi,

 

We used api to add text graphics to drawing(dwg/idw) file. On export, the newly added text graphics using transient geometry not showing in pdf file. Please refer attached images.
The same text graphics from part file getting exported to pdf.
Drawing file:

prakashmuthu_0-1712652923884.png
PDF exported from drawing:

prakashmuthu_1-1712652978781.png


part file:

prakashmuthu_2-1712653055231.png

PDF export from part:

prakashmuthu_3-1712653108013.png


Please help to add text on drawing on export similar to part file.

0 Likes
Reply
Accepted solutions (1)
291 Views
1 Reply
Reply (1)

WCrihfield
Mentor
Mentor
Accepted solution

Hi @prakash.muthu.  Exporting a part to PDF has no options, because it is a very odd type of export, so it essentially only gets an image of the model view of the part.  Exporting a drawing to PDF is very different, and more highly developed in many ways, so it does not simply take an image of the drawing, but captures actual objects in the drawing, so that those objects will be recognizable within the resulting PDF, such as recognizing lines as geometry, recognizing text as selectable, and readable, recognizing images as images, and so on.  If the text you are adding is only transient, then it will not be captured, because it is not 'really' part of the drawing yet.  You would need to add the text a different way, such as adding a TextBox into the Border, or TitleBlock, that can be switched out, or creating a SketchedSymbol that you can drop into the drawing before export, then remove again after export.  Those would be 'real' and included in the document, so they would be captured by the exporter/translator.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)