Is there any information about the documentVariables refering dimension settings for the RDocument. I know that there is a lot of variables that are stored on RDocument and could be queried by doc.queryDocumentVariables() . I have tested some modifications :
var doc = new RDocument(new RMemoryStorage(), new RSpatialIndexNavel());
var di = new RDocumentInterface(doc);
startTransaction(di);
doc.setKnownVariable(RS.DIMTXT,0.015); // text size
doc.setKnownVariable(RS.DIMASZ,0.02); // arrow size
doc.setKnownVariable(RS.DIMGAP,0.0125); // Offset from dimension line
doc.setKnownVariable(RS.DIMEXE,0.0125); // Extension line size after Dimline
doc.setKnownVariable(RS.DIMEXO,0.0); // Offset from origin
doc.setKnownVariable(RS.DIMBLK1 , "ClosedFilled");// 1st Arrow head
doc.setKnownVariable(RS.DIMBLK2 , "ClosedFilled");// 2nd Arrow head
doc.setDimensionFont("DejaVu Sans");
endTransaction();
But I can't guess the meaning of the behaviour of the following variables on https://qcad.org/doc/qcad/3.0/developer ... 8980966ebc . I would like to know the meaning of the variables that starts with DIM that I guess that refers to dimension settings.
Thanks
[solved] RDocument variables refering dimension configuration
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
[solved] RDocument variables refering dimension configuration
Last edited by sperez on Mon Feb 28, 2022 9:02 pm, edited 1 time in total.
Re: RDocument variables refering dimension configuration
An option is to Google them, maybe include 'DXF' in your search.
I am quite sure you will find some hits on the https://knowledge.autodesk.com site.
The DXF standard was developed by ACAD.
Regards,
CVH
Re: RDocument variables refering dimension configuration
Ok, I get some info with the DXF standard at https://images.autodesk.com/adsk/files/ ... ce_enu.pdf , and get detailed info about that variables.
Thanks
Thanks