cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeJaeYoung
Virtuoso

Is it possible to create a GDL that selects two or more labels and sums them?

Is it possible to create a GDL that selects two or more labels and sums them?

I am talking about implementing GDL that reads the parameters for the area in gdl in No. 1 and 2 and displays the sum.

LeeJaeYoung_0-1668560627816.png

 

AC27 on window 11
1 Solution

Accepted Solutions
Barry Kelly
Moderator

GDL objects have no awareness of any other objects.

Labels can only be associated to one element so can only read values from that one element.

 

Schedules can sum values (17.190 in your example).

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Go to post

2 Replies 2
Barry Kelly
Moderator

GDL objects have no awareness of any other objects.

Labels can only be associated to one element so can only read values from that one element.

 

Schedules can sum values (17.190 in your example).

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
LeeJaeYoung
Virtuoso

thank you so much ^^

 

I thought autocad's autolisp was the oldest scripting language.....
In revit and Archicad, you can process data only on schedule.

The figure below is a table supported by autocad.
It's almost like Excel. calculation is possible.
It is simply a block list made with Autolisp.

I think it would be nice to have something like table in Archicad and revit.

LeeJaeYoung_0-1668562975471.pngLeeJaeYoung_1-1668562992822.png

this is 49 * 1 = 49

LeeJaeYoung_2-1668563280297.png

this is sum(348)

LeeJaeYoung_3-1668563301356.png

 

 

AC27 on window 11

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!