I am referring to items like: AutoCAD Version ($ACADVER), etc. Those in Segment #1.
TIA,
-RFH
I am referring to items like: AutoCAD Version ($ACADVER), etc. Those in Segment #1.
TIA,
-RFH
The DL_CreationInterface::setVariable* handlers are called for those.
E.g. for $ACADVER:
DL_CreationInterface::setVariableString("$ACADVER", "AC1024", 1)
Thanks, Andrew!
-Ramon
Oooops, I may have spoken too soon. See below…
Andrew:
My only use for dxflib is to read DXF files, and the purpose of the function that you mentioned seems to be to write DXF files.
I am simply trying to extend the sample provided with the distribution, so it dumps information about the DXF files on the screen. I know I can get that info with “less”: Its just for my own instruction and curiosity.
-Ramon
Everything in DL_CreationInterface is for reading DXF files. Think of the ‘setVariable’ and ‘add*’ functions from the perspective of the parser. The parser finds a variable in the DXF file and calls your setVariable* implementations to tell you what it found.