AutoCAD LT General Discussion

AutoCAD LT General Discussion

Reply
*Bartling, Jerry
Message 1 of 2 (127 Views)

macro to saveas dxf file

127 Views, 1 Replies
05-20-2000 06:37 AM
We have a macro that strips a drawing except for a particluar layer. After
the macro runs we saveas a dxf file. Is there a way to automate the process
further so that we can saveas to the origninal path and file name but as a
dxf?

Regards,

Jerry Bartling
*ISK.Grebe
Message 2 of 2 (127 Views)

Re: macro to saveas dxf file

05-22-2000 07:00 AM in reply to: *Bartling, Jerry
Hello Jerry,

I think you can modify some of these macros.

Mathias

[*.DXF
2000]^C^C_filedia;0;_saveas;dxf;;$m=$(eval,"c:/tmp/acadfiles/"$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))"_2000.dxf");filedia;1;

[*.DXF
V14]^C^C_filedia;0;_saveas;dxf;v;r14;;$m=$(eval,"c:/tmp/acadfiles/"$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))"_V14.dxf");filedia;1;

[*.DXF
V13]^C^C_filedia;0;_saveas;dxf;v;r13;;$m=$(eval,"c:/tmp/acadfiles/"$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))"_V13.dxf");filedia;1;
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.