GDL
About building parametric objects with GDL.
SOLVED!

Need an object that lists other "placed on the floor plan" objects properties .

Sofiane LPAF
Contributor
Hello everyone
if you can help me design a GDL object that displays (or manipulates and displays) properties of other objects placed on the floor plan (see example in image) 
The object to be created will be in the form of a list which will be placed next to the objects it lists.
THANKS

 


181521.jpg
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Lingwisyer
Guru

An Object cannot query another Object. I think there is a way to Text IO out and amend a file, then Text IO in said information, but this is all manual and requires object refresh. From past experience, you cannot SUM a common parameter in Schedules either...

 

 

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

View solution in original post

5 REPLIES 5
Solution
Lingwisyer
Guru

An Object cannot query another Object. I think there is a way to Text IO out and amend a file, then Text IO in said information, but this is all manual and requires object refresh. From past experience, you cannot SUM a common parameter in Schedules either...

 

 

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
kuvbur
Enthusiast

Try this addon. Create a property where the sum will be displayed, add Sum{Param1; Param_to_Sum}  to its description, select any element with this property and run the Sum Selected function.

Structural engineer, developer of free addon for sync GDL param and properties

Thank you for the link, I'm a little lost on this page. I'm going to try that

You may be right even if it doesn't seem impossible to me. I have the impression that certain plugins like eptar reinforcement manage to create lists of parameters of other objects placed on the floor plan! Thank you for your response

I think you can use the API to get around some of the limitations of GDL, but that requires a whole another level of coding knowledge. If you are looking at creating a plugin, you may want to query over on the C++ or Python API subs.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660