cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Schedule Listing by volume of custom made object

Not applicable
Hi everybody ! I`m newbie on this site and solution might already be founded somewhere , but anyway I would like to ask following question from you guys.

I should need to organize and count some schedule listings by volumes of custom made objects.
For example : attribute might be like-> "only count objects with volume under 1,700 litres" or "only count objects with volume 1,700 litres exactly".
And so on by different values of volume of objects.
Is this possible ? It would be a huge help.

Thank You.

Sorry about my lang.. not my native one!

Reijo
8 REPLIES 8
Barry Kelly
Moderator
Sure you can do this but only if your objects have a parameter for the volume.
You just need to add the parameter in your schedule criteria.
See attached image.

Barry.
undefined
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
Not applicable
Thanks Barry,
I was on the right way with my thoughts, I can find that
object parameter box and been using it for couple of times but
I quess the main problem is :
How to set active volume parameter for the object ?
Unless there doesnt excist that parameter, there is nothing to choose under
object parameter criteria in schedule.
So.. stupid question following..

How to set volume parameter for the object?
Open the object GDL dialog box, add parameter I quess, but with what details? And where exactly? After that, some information into t he 3D script,
am I right ?
Ater that there shoud excist active volume box somwhere under the object settings (ctrl+shift+o).
And then, I might found that certain parameter available to choose under objects parameter dialog box in scedule settings !

I hope you understood my story right

Reijo
Barry Kelly
Moderator
Yes your objects will need a parameter for the volume - as My water tank object has in my example.
So if your objects already have this parameter then all is good and you can use that.

If they don't have that parameter then you will need to know a little GDL scripting to add it in.
It could just be adding a VALUE list of available volumes that the user can choose from.
Or you could do some calculation in the Master or Parameter script to determine the volume of your object and then store that as a parameter value that you can then use in your schedule.
How to determine the volume is another matter as that depends on what your object is - i.e. it may not just be length x width x height of the overall object.
You may have to calculate individual components and add them together if for example it is a furniture object or non-cubic object.

So I guess it all comes down to what objects you are using.
If they don't already have a volume parameter are you able to add one or is a bit of GDL scripting out of you depth?

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
Not applicable
Hi Barry again,
In the "reference" picture you can see those 3 objects + normal cube xyz
IĀ“m going to need. They all are different objects, because I cant do that GDL script needed.
Of course it would be much easier to have only one object with
intelligent parameters to manipulate only the certain one.

For doing that i`ve been asking an offer to make code or script
against fee of course, but so far nobody hasnt reported to do that !

I really would like to do it myself, but I havent found instructions which
is easy enough for me to do it, especially in Finnish

Reijo
Barry Kelly
Moderator
I am not sure if this will be helping or not.
You already have your objects.
With the correct scripting they could all be made in to one single object but that is another matter.

The trick now is you need to calculate the volume for each in the master script.
A cube is easy - length x width x height.
But these are not cubes so you will need to determine a base area x length or height (see image).
These volumes can be stored as a parameter which you can then call into your schedules.

If you are not able to script GDL you will need to find someone to help or learn it yourself.
I still think the best source to learn is the GDL Cookbook 3 by David Nicholson-Cole.
It is a little old now but the basics are all still the same.
There is a slightly newer online version for Cookbook 4 as well.
Search in the forums here or Google it and you should be able to find a PDF version for CB 3.
The GDL manual is OK but doesn't give a lot of practical examples.
Unfortunately all in English.

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
Not applicable
Thank you so much Barry,
Learning GDL scripting is one of my major needs I know.
Anyway I feel it is like "tabu", lots of people know about it but
it is real difficult to find uniform rational instructions, just seen those ones you mentioned, but
I guess Im going to keep searching on !

Volume of those objects is not dead or alive function, IĀ“ll just have
to re organize my thoughts of how to represent things.

As mentioned, I really appreciate your help, now I know where to focus.

BR
Reijo
Laszlo Nagy
Community Admin
Graphisoft just recently started providing GDL materials in this new site:

http://gdl.graphisoft.com/gdl-basics/

You may start learning the basics of GDL scripting there.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Not applicable
I found that new site very useful and can't wait for it to grow more. GDL is not that easy however I do think many people should have basic skills with it. I am learning more with those example GDL objects on that new site. I really need to spend more time learning it but it's worth browsing through, as it did help me fix few objects.
laszlonagy wrote:
Graphisoft just recently started providing GDL materials in this new site:

http://gdl.graphisoft.com/gdl-basics/

You may start learning the basics of GDL scripting there.