Got a minute? We appreciate your feedback:

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

Insert a variable into a custom made 2D GDL object

Not applicable
Hi all,

I'm very new to GDL modelling so this is (I would imagine) a basic question. I have created a 2D object which consists of a circle and in the middle of the circle is a number. I would like the user to be able to define the number through the parametric settings but I don't know how to adjust the Archicad Generated GDL script to insert my variable. Currently all i'm getting is the name of the variable (number) but I would like the value to be shown. Below is my script and attached is a screen shot of my object settings. Any help in this would be fantastic!


! Name : Number Label.gsm
! Date : Wednesday, 20 June 2012
! Version : 15.00
! Written by ArchiCAD

mul2 A/0.006000, B/0.006000
add2 -0.1629285901089, -0.4751558825301
pen 146
line_property 0
circle2 0.1659285901089, 0.4781558825301, 0.003
define style{2} "AC_STYLE_1" "Arial", 3, 0

paragraph "AC_PRG_2" 2, 0, 0, 0, 1
pen 7
set style "AC_STYLE_1"
textblock "AC_TEXTBLOCK_2" 0, 2, 0, 1, 1, 1,
richtext2 0.1659285901089, 0.4805130381563, "AC_TEXTBLOCK_2"

Not applicable
Try to use this nice object " Hotspot Switch.gsm" from Olivier Dentan.
You can enter numbers and letters in the circle.
If you open it, you can learn about GDL programming.

Not applicable
Great - thanks very much!

Start a new conversation!

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!