Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

export dwg text - export single line text, not multiline text

yanirKC3ZG
Participant
Participant

export dwg text - export single line text, not multiline text

yanirKC3ZG
Participant
Participant

hello, im trying export dwg/dxf from revit, and text to exported as single line, and not multiline text(mtext).

i have some text that i want to export, and to been seen in autocad as single line text, and not multiline text. revit export it as deafult as multiline text(mtext).

 

is there any option to export it as single text?

cant find any method, even intermediate, without open the dwg file itself(i want it to be automatically exported from revit without further modification to the dwg file)

 

will happy for any help. thanks.

 

*I need the text to be single line because im implement the dwg file into another system that can read only single line text..

0 Likes
Reply
475 Views
5 Replies
Replies (5)

jeremy_tammik
Autodesk
Autodesk

You say that you want to read the DWG text into another system. In that case, maybe the easiest solution would be to simply implement a Revit add-in that reads all the desired text data and exports it directly to this other system, completely eliminating the intermediate DWG step.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes

yanirKC3ZG
Participant
Participant

The 'other' system is a government system, which i cant modify ot change, and probably this system wont be upgraded in the next few years.

 

0 Likes

jeremy_tammik
Autodesk
Autodesk

What is the exact input required by the other system? DWG? DXF?

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes

yanirKC3ZG
Participant
Participant

he needs string of  simple text, that located inside polygon(so he can linked to it).

ive just success to do the operation by using 'ezdxf' library in python.

thanks for your help anyway.

0 Likes

jeremy_tammik
Autodesk
Autodesk

You can implement a Revit add-in to generate a DXF file directly, so no need for AutoCAD or DWG for that purpose.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes