Can be Imported a cad file with text?
-
Hi I would like to know if there is a way to import a cad file (dwg or Dxf) that contains important text?
Thanks
-
SU will import only CAD geometry (and its hierarchy).
-
@bravoddb said:
Hi I would like to know if there is a way to import a cad file (dwg or Dxf) that contains important text?
Thanks
If you have AutoCAD you can explode the text into lines, then import that... BUT text is not importable - I have an embryonic tool to take the text out of a dxf file and then bring it into SUp with the text as my '2D Text' 'flat' text_like_compos... however, don't hold your breath - it's a looong way off...
-
@tig said:
@bravoddb said:
Hi I would like to know if there is a way to import a cad file (dwg or Dxf) that contains important text?
Thanks
If you have AutoCAD you can explode the text into lines, then import that... BUT text is not importable - I have an embryonic tool to take the text out of a dxf file and then bring it into SUp with the text as my '2D Text' 'flat' text_like_compos... however, don't hold your breath - it's a looong way off...
What's the name of that tool?
-
When it is possible to write a small ruby to draw text in SU, then it should be a easy to make a autolisp-utility to write such ruby out from autocad.
I used such approach to restore block-infos on SU components which get lost during import.
-
@bravoddb said:
@tig said:
@bravoddb said:
Hi I would like to know if there is a way to import a cad file (dwg or Dxf) that contains important text?
Thanks
If you have AutoCAD you can explode the text into lines, then import that... BUT text is not importable - I have an embryonic tool to take the text out of a dxf file and then bring it into SUp with the text as my '2D Text' 'flat' text_like_compos... however, don't hold your breath - it's a looong way off...
What's the name of that tool?
It's one of the Express Tools that ships with AutoCAD called ExplodeText - I think it's a lisp file...
-
@hpw said:
When it is possible to write a small ruby to draw text in SU, then it should be a easy to make an AutoLisp-utility to write such ruby out from AutoCAD.
I used such approach to restore block-infos on SU components which get lost during import.
It is indeed relatively easy for Ruby to parse the 'Text' data out of a DXF [then you won't need AutoLisp] and then to make bits of '2D Text' from it in your SKP... It's just having time to do write it that's the pain...
Advertisement