import dxf into layers

Use this forum to ask questions about how to do things in QCAD 2.1/2.2.

Moderator: andrew

Locked
caballero
Registered Member
Posts: 2
Joined: Wed Apr 13, 2011 6:43 pm

import dxf into layers

Post by caballero » Wed Apr 13, 2011 9:26 pm

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)

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Fri Apr 15, 2011 3:01 pm

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

caballero
Registered Member
Posts: 2
Joined: Wed Apr 13, 2011 6:43 pm

Post by caballero » Tue Apr 19, 2011 10:37 pm

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

Locked

Return to “QCAD 2.1/2.2 'How Do I' Questions”