import dxf into layers

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

Moderator: andrew

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

import dxf into layers

Postby 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
Site Admin
Posts: 5126
Joined: Fri Mar 30, 2007 6:07 am

Postby 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:

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

Postby 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?


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

Who is online

Users browsing this forum: No registered users and 1 guest