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

GDL + Schedule

Anonymous
Not applicable
I created an object that when you change it's size it keeps adding or removing seats.

My question is can I (and how) create a parameter that provides the total amount of seats so that I can list it on a Schedule?

I can create the parameter "internally" in the GDL but I can't find how to make it visible for Schedules.

Thanks
12 REPLIES 12
Frank Beister
Moderator
Beside the standard parameters of objects you can select the parameters (by its paramer names) of all objects in your shedule. Bottom left in shedule settings.
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
Anonymous
Not applicable
Yes but there are listed only the parameters that are visible in the object properties windows.

If I add a parameter there then it's not automatically updated when I change the size of the object. (and the schedule shows only it's default value)

If I create a parameter in the master, or parameter window of my GDL then this parameter is not visible in the schedule....

Thanks
Barry Kelly
Moderator
Just to enhance what Frank was saying.
Barry.
schedule_object_parameters.jpg
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
Barry Kelly
Moderator
Fotis wrote:
I can create the parameter "internally" in the GDL but I can't find how to make it visible for Schedules.

Thanks
It can't be a value calculated only within the object script.
You must save that value as a parameter in the parameter list of the object, then you can add it to the schedule.
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
Frank Beister
Moderator
Calculate number in mastersript and add:


total_number = seats_per_row * rows
PARAMETERS total_number=total_number


total_number has to be a parameter in parameter list.
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
Anonymous
Not applicable
Thank you both, it seems to be working now.

I was just missing the last part with the master script option!
Anonymous
Not applicable
....it's me again... it is not working!

Although in each object parameters I can see correctly the total number, in my schedule I get only the value of the "start" object before modification (one value for all objects!)
Anonymous
Not applicable
actually when I am in the schedule I see the "starting" value, If I try to change the value manually to a random value it automatically changes to the right one.

Like if an Update command is missing!
Frank Beister
Moderator
The PARAMETERS statement has to be in master script oder parameter script.

The update is made ONLY, when you are in settings dialog (+"OK") or you are dragging and moving and moveable hotspot.

AFAIR is resizing object by its surrounding box not enough to update parameters by the PARAMETERS satement in script.
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