cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

#2: Script Mistake in "GDL Reference Guide"

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
... und im Übrigen bin ich der Meinung, dass Trockenbauwände einschichtig zu modellieren sind.

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!