Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Measurement Dimensions from GDL

Anonymous
Not applicable
Hello,

Wondering if I can drawn dimensions using the Dimension Tool from a GDL script (2D only)?
I haven't been able to find any info from google searches, but I'm thinking this must be possible.

If it's not possible ill manually draw the dimension lines (line2, text2, arc2, etc) in order to have a dimensioned 2D object, but obviously if this can be avoided it'd be awesome (my object is already complex enough @ 2100 lines of code, haha.)
2 REPLIES 2
Barry Kelly
Moderator
You will have to do it with lines and text unfortunately.
There are no dimension commands in GDL.
Make sure you create the witness line and marker as a GOSUB routine.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Barry wrote:
You will have to do it with lines and text unfortunately.
There are no dimension commands in GDL.
Make sure you create the witness line and marker as a GOSUB routine.

Barry.
Thanks Barry, I thought as much, but figured I better ask here in case someone knew a trick that i couldn't find online.
Will definitely write it as a gosub as per your advice