Announcements

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

Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

5 REPLIES 5
Reply
Message 1 of 6
yanirKC3ZG
475 Views, 5 Replies

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

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..

5 REPLIES 5
Message 2 of 6
jeremy_tammik
in reply to: yanirKC3ZG

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
Message 3 of 6
yanirKC3ZG
in reply to: yanirKC3ZG

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.

 

Message 4 of 6
jeremy_tammik
in reply to: yanirKC3ZG

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
Message 5 of 6
yanirKC3ZG
in reply to: yanirKC3ZG

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.

Message 6 of 6
jeremy_tammik
in reply to: yanirKC3ZG

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report