Pass Version Number to my Class
Moderator: andrew
-
- Newbie Member
- Posts: 7
- Joined: Thu Aug 02, 2007 2:34 pm
Pass Version Number to my Class
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.
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
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
-
- Newbie Member
- Posts: 7
- Joined: Thu Aug 02, 2007 2:34 pm
How
Ok, I see...but how to i implement this method? Please bare with me...i am very new to all of this.
thanks!
thanks!
-
- Newbie Member
- Posts: 7
- Joined: Thu Aug 02, 2007 2:34 pm
Nevermind
nevermind...i got it!