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

#2: Script Mistake in "GDL Reference Guide"

Anonymous
Not applicable
GDL Reference Guide > Expressions and Functions > Functions > String Functions

Written:
DEFINE STYLE "own" "Monaco", 180000 / A_, 0, 0
SET STYLE "own"
string = "abcd"
width = STW (string) / 1000 * A_
n = REQUEST ("Height_of_style", "own", height)
height = height / 1000 * A_
text2 0,0, string
rect2 0,0, width, -height

Correct:
DEFINE STYLE "own" "Monaco", 180000 / A_, 1, 0
...
1 REPLY 1
Frank Beister
Moderator
Do you send this errors to GS Support, that they will fix it in the next manual?
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm

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!