Open dxf from command line

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

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
sinase
Active Member
Posts: 47
Joined: Sat Jan 30, 2021 11:12 pm

Open dxf from command line

Post by sinase » Mon Mar 15, 2021 6:44 pm

Hi I am trying to open a dxf file in VB6 with command line. Sometimes it open correctrly the file, but most of times I get this error (image attached)

I have tried by several calls, for example:

QCAD.exe "O:\OF20210302065\Procesado\File.dxf"

Any suggestion?
Attachments
open.png
open.png (4.35 KiB) Viewed 2117 times

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

Re: Open dxf from command line

Post by andrew » Mon Mar 15, 2021 8:14 pm

The call is correct. Please make sure QCAD has access to the file (permissions) and the file is there for the whole duration of opening it. Locked files can also be a problem under Windows.

sinase
Active Member
Posts: 47
Joined: Sat Jan 30, 2021 11:12 pm

Re: Open dxf from command line

Post by sinase » Mon Mar 15, 2021 8:20 pm

Before the call I use edrawings to preview the file i a form. Maybe it is locking the file. I will try avoid it or make a copy. thanks

Post Reply

Return to “QCAD 'How Do I' Questions”