BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
GDL
About building parametric objects with GDL.

Text not always readable when using call parameters for proprieties in GDL

Otavio Augusto
Certified Trainer

Hello everyone,

I've recently observed an issue with a zone stamp I created, where a portion of the text is not consistently readable. We utilize a call parameter to retrieve property values for text, but only this specific type of text seems to be problematic, if the view rotation is over 90 or less then 270 it became inverted. The other text elements function as expected.

Could there be an issue with the call parameter for the property, or is there another factor causing this inconsistency?

 

The codes for those texts are:

 

 

 

call    "Rótulo da Propriedade 26", PARAMETERS A =            A,
        AC_TextFont_1 = "Aria", AC_TextSize_1 =          1.5, AC_bLabelAlwaysReadable =      1, AC_TextCharSpaceFactor_1 =            1,
        AC_TextAlignment_1 =      2, iArrangeContent =		1, i1stRowContent =     13,
        iIDText1 =      3, stPropertyID1 = "41953892-31D4-4EDA-BC0A-EB719EF1BB72",
		distanceLabelHead_mm =       -1.3, bShowLeaderLine =      0

 

 

 

 

And here are some pics:

OtavioAugusto_0-1707504006466.png

OtavioAugusto_1-1707504063896.png

 

 

1 REPLY 1
scottjm
Advisor

Are you able to show the scripts where you are placing that text in the object?

 

 To ensure text is always readable there are some if else statements to the object/label rotation and then flip the transformation stack 180deg before placing the text. 

I’m predicting the text on your bottom row is missing this rotation, or is implement incorrectly. The call across just return raw strings of text so contain no rotation data. 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!