Associate new file to insert block

Post here to ask questions about or get help with the scripting module of QCAD 2.1/2.2.

Moderator: andrew

Associate new file to insert block

Postby Mschmidt » Mon Jun 09, 2008 6:40 pm

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 the newly open file and crash the whole program.

My question is, what sort of function can I use to update the insertion script to the new file or vice versa? Would this be an embebbed function within the QCAD program?

Cheers,
M
Mschmidt
Newbie Member
 
Posts: 5
Joined: Fri Jun 06, 2008 4:37 pm
Location: Calgary, Alberta, Canada

Return to QCAD 2.1/2.2 Developers

Who is online

Users browsing this forum: No registered users and 2 guests