Page 1 of 1

import dxf into layers

Posted: Wed Apr 13, 2011 9:26 pm
by caballero
I need to import several dxf files into separate layers then saves as a single dxf file and do all of this via a command line through a shell.

In other words, I need to be able to automate this with a php, perl, or python script.

Can this be done?

Thank you in advance.

(QCAD newbie)

Posted: Fri Apr 15, 2011 3:01 pm
by andrew
php, perl, or python script
You would have to manipulate the DXF files directly.

With QCAD 3, you should be able to achieve this with the included ECMAScript API. ECMAScript files can be run without showing any QCAD application windows. We use that for some command line utilities.

We're planning to release a technology preview of QCAD 3 real soon so developers can start implementing their custom solutions.

Stay tuned here:
http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1439

Posted: Tue Apr 19, 2011 10:37 pm
by caballero
OK, so it sound like you are saying I should be able to accomplish what I need with javascript & QCAD3.

How soon can I get my hands on QCAD3 as I have a customer interested in do this now?

jeff