Got a minute? We appreciate your feedback:
I am new to GDL and am wondering if someone can point me in the right direction here.
I have created a new label from scratch to simply read a walls composite name and display the first code within a poly triangle.
It's all working smoothly except for the insertion point.
All other labels insert where I click except this one?
It's likely an issue between keyboard and chair. Hoping someone can assist 🙂
I have attached an empty pln with the object embedded if anyone can have a look at it.
HOTSPOT2 0, 0
HOTSPOT2 0.35, 0.6
HOTSPOT2 -0.35, 0.6
define style "Standard" AC_TextFont_1, AC_TextSize_1, 8, AC_TextStyle_1
frame_fill = 1
! Get Comp Code
string = WALL_COMPS_NAME
iDotPos = STRSTR (string, ":")
iOutput = STRSUB (string, 1, iDotPos - 1)
! Set Text Style - Defined under Master script
! Write text box
TEXT2 0, 0.25, iOutput ! Should return prefix seperated from Composite name by a ":"
POLY2 4, frame_fill, 0, 0, 0.35, 0.6, -0.35, 0.6, 0, 0
Go to Solution.
You need to eliminate the default leader line distance first.
Put this at the beginning of your 2D script:
This is exactly what I am after, Cheers !