DxfImporter registration

If you are having problems with dxflib, post here. Please report bugs here.

Moderator: andrew

DxfImporter registration

Postby antoniolc » Tue Jan 22, 2013 4:12 pm

Hello,
I cannot import/export dxf files using QCad3 version, in open or save dialogs no formats appear.
I noticed that line RDxfImporter.registerFileImporter() on DxfImporter.js was disabled, and on ImportExport.pro was no DxfImporter subdir.
Changing that dxf format appears, but when I try to open a dxf file program crashes.
Also I cannot find an equivalent file to QCad2 rs_filterdxf.
Thanks.
Antonio
antoniolc
Registered Member
 
Posts: 1
Joined: Tue Jan 22, 2013 3:56 pm

Re: DxfImporter registration

Postby andrew » Tue Jan 22, 2013 8:03 pm

Please note that QCAD 3 does currently not have its own DXF importer. QCAD 3 uses the OpenDesign Teigha libraries for DXF / DWG import and export. It is possible (and planned) to port the QCAD 2 DXF import / export based on dxflib also to QCAD 3 for use cases without Teigha, but that has not happened yet.

Most developers choose to extend and modify QCAD through the new QCAD 3 scripting interface. In this case, no new binary is compiled and our Teigha license may be used for DXF / DWG support.
User avatar
andrew
Site Admin
 
Posts: 2658
Joined: Fri Mar 30, 2007 6:07 am


Return to dxflib Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 1 guest