Skip to main content
Solved

Run AutoCAD script without using AutoCAD lincence


zzupljanin
Contributor
Forum|alt.badge.img+4

Hi,

 

Is there a way to run AutoCAD scripts in FME without calling or using AutoCAD licence?

 

I need to Copy or Rename Layout of my template file.

Best answer by nielsgerrits

A workaround I have used is to read the DWG template, write it to DXF (which is an open format) read the DXF as text, edit the textfile with FME, write it back to text, read the DXF, write it to DWG.

It is quite a bit of a hassle, but it can work if you really need it.

Using FeatureReaders / FeatureWriters you can do this in one workbench.

View original
Did this help you find an answer to your question?

3 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • August 25, 2020

I would try to see if I could replicate the functionality in FME instead if there are only minor things you want to change on the template file. I have asked here: https://community.safe.com/s/article/working-with-autocad-layouts - for an update if this is possible now.


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • August 25, 2020

A workaround I have used is to read the DWG template, write it to DXF (which is an open format) read the DXF as text, edit the textfile with FME, write it back to text, read the DXF, write it to DWG.

It is quite a bit of a hassle, but it can work if you really need it.

Using FeatureReaders / FeatureWriters you can do this in one workbench.


zzupljanin
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • August 26, 2020
nielsgerrits wrote:

A workaround I have used is to read the DWG template, write it to DXF (which is an open format) read the DXF as text, edit the textfile with FME, write it back to text, read the DXF, write it to DWG.

It is quite a bit of a hassle, but it can work if you really need it.

Using FeatureReaders / FeatureWriters you can do this in one workbench.

Wow, that workaround sounds really nice. Thank you


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings