PDA

View Full Version : Filling In File Dialogue Box via AutoLisp??


rmcelvain.103137
2009-08-11, 08:42 PM
Hi all,

We are switching to AcadMEP 2010 soon and one of the items on my to-do list is creating an automated way to use the "aecexporttoautocad2004" command. On most of our projects we will be asked to provide someone with a dummied down format of our files.

Is there a way to fill in the information in an autocad generated dcl file??

I haven't started this routine at all yet but I just wanted to get an opinion on whether or not this is even the right approach.

Is there a better way?

Thanks in advance,

d_m_hopper
2009-08-11, 08:57 PM
If I understand your request, this link might help

afralisp (http://www.afralisp.net/vl/attab-vl.htm)

did you work at A&O?

rmcelvain.103137
2009-08-12, 03:02 PM
Thanks for the link Dennis, it has more to do with editing attributes though.

What I am wondering about the a command in Acad MEP called "aecexporttoacad2004". There is not command line version of it and I am wondering if autolisp will allow me to automatically fill in the file name portion of the dialogue box and then run the OK portion.

If it can do that, then I could use a script routine to have a whole project automated instead of having someone have to sit there and export multiple files.

Anyone have any ideas on whether or not autolisp is the tool to use??

Thanks again,

RobertB
2009-08-12, 07:56 PM
What I am wondering about the a command in Acad MEP called "aecexporttoacad2004". There is not command line version of it ...Yes, there is.

Command: -ExportToAutoCAD

rmcelvain.103137
2009-08-13, 01:46 AM
Yes, there is.

Command: -ExportToAutoCAD

simple .... direct .... correct ....

couldn't ask for anything more, thank you very much Robert!

RobertB
2009-08-13, 02:49 AM
Happy to help! ;)