Search found 5 matches

by Nick1974
Wed Oct 11, 2017 2:05 pm
Forum: QCAD Developers and Contributors
Topic: [solved] reopen the dxf file after it has been modified externally
Replies: 2
Views: 3218

[solved] reopen the dxf file after it has been modified externally

Hello. How I can say to qcad so it reopens the dxf file after it has been modified externally? I draw from ECMAScript: 1. Open qcad 2. Edit myscript.js and run from editor qcad -allow-multiple-instances -autostart myscript.js && qcad /tmp/myscript.dxf 3 View result in qcad 4. Switch to qcad 5. Close...
by Nick1974
Wed Oct 11, 2017 1:13 pm
Forum: QCAD Developers and Contributors
Topic: to get the current directory
Replies: 2
Views: 2166

Re: to get the current directory

Thanks.
by Nick1974
Fri Sep 29, 2017 11:56 am
Forum: QCAD Developers and Contributors
Topic: to get the current directory
Replies: 2
Views: 2166

to get the current directory

Hello.
How can I get the current directory from ECMAScript to use it in include, importFile and exportFile commands?
I do not want use full path.
I run qcad as

Code: Select all

qcad -allow-multiple-instances -autostart foo.js && qcad foo.dxf
by Nick1974
Fri Sep 29, 2017 11:52 am
Forum: QCAD Developers and Contributors
Topic: RLine vs RLineEntity
Replies: 1
Views: 1862

RLine vs RLineEntity

Hello.
Please, explain to me the difference between RLine and RLineEntity.
Why RLine is created and then convert to RLineEntity in scripts/simple_create.js?
Why one not create RLineEntity right away?
Are RLine and others RShape need what for?

Go to advanced search