Page 1 of 1

Pass Version Number to my Class

Posted: Thu Aug 02, 2007 2:38 pm
by pricecreations
I am trying to pass the version number to my Test_CreationClass so that I can check to see what version of AutoCAD the dxf file was created in to do my own error handling. Does anyone know how I would go about doing this? I am more or less a beginner at all of this. Any help is greatly appreciated.

Posted: Fri Aug 03, 2007 8:54 am
by andrew
Some pointers:

Implement the setVariableString(...) method from the DL_CreationInterface (see dl_creationinterface.h)

DXF spec about header variables and their meaning (DXF version is stored as string in field "$ACADVER"):
http://www.autodesk.com/techpubs/autocad/acad2000/dxf/
-> HEADER Section -> HEADER Section Group Codes

How

Posted: Fri Aug 10, 2007 4:28 pm
by pricecreations
Ok, I see...but how to i implement this method? Please bare with me...i am very new to all of this.

thanks!

Nevermind

Posted: Fri Aug 10, 2007 6:41 pm
by pricecreations
nevermind...i got it!

Posted: Thu Nov 11, 2010 7:27 am
by dgp
Would you mind to share how to implement this method...