To the best of my knowledge you can not add dimensions in a GDL script.
The 45° angle line must be scripted as a line.
For the arrow you will need to susbstitute it with a filled polygon.
If you need a choice between the two then you will need a parameter and an IF > THEN statement.
Otherwise just dimension your object as you would anything elese in plan and you will have complete control over the dimension settings.
If your object has hotspots with uniqu ID's then any dimension you add will stretch with your object if it changes.
Or am I not understanding what you mean?
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