Search found 5 matches

by Mschmidt
Tue Oct 07, 2008 5:21 pm
Forum: QCAD 2.1/2.2 Developers
Topic: Crash when Script cannot find folder/file
Replies: 1
Views: 13885

Crash when Script cannot find folder/file

I've discovered that the program will crash when the script line cannot find the specific file or folder... var ins = new Insert(doc, "templates/TitleBlock", 0, 0, 1.0, 0.0); doc.addEntity(ins); Anyone else have this problem? Any code to do a check for instance? (i.e. if ( filename .isReal ) ) Maybe...
by Mschmidt
Mon Jun 09, 2008 6:40 pm
Forum: QCAD 2.1/2.2 Developers
Topic: Associate new file to insert block
Replies: 0
Views: 14393

Associate new file to insert block

Hey Guys, I'm using the script provided to open a new file and trying to insert a block onto it. Although, I have two problems. One, the block will only be inserted into a previously open document. The second is - provided there are no open documents - the block insertion script will not recognize t...
by Mschmidt
Fri Jun 06, 2008 11:41 pm
Forum: QCAD 2.1/2.2 Developers
Topic: Loading Script when starting QCad
Replies: 4
Views: 18578

Oh yes...thank you. I'm new to Mac so please excuse me.

I only now learned how to view system folders.

Thank you for your help.

Love the Program.
by Mschmidt
Fri Jun 06, 2008 10:39 pm
Forum: QCAD 2.1/2.2 Developers
Topic: Loading Script when starting QCad
Replies: 4
Views: 18578

On startup, QCad launches function "main" of the script <your home directory>/.qcad/autostart.qs, e.g. "/home/andrew/.qcad/autostart.qs". If you're under Windows, you might have to try some different directories since the home directory depends on your Windows flavor. Hmmm...I should have mentioned...
by Mschmidt
Fri Jun 06, 2008 4:41 pm
Forum: QCAD 2.1/2.2 Developers
Topic: Loading Script when starting QCad
Replies: 4
Views: 18578

Loading Script when starting QCad

Is there any way to automatically load script into the IDE when you first start the program. I feel it's a pain to have to load every time.

Go to advanced search