We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-12-02 11:19 AM - last edited on 2023-05-31 10:19 AM by Laszlo Simon
Hello there,
i am looking for a possibility to link a property (made in Property-Manager) to a GDL Parameter, in my example I want to define the room number through a property.
What I could already manage to link the element-id, under Parameterscript:
parameters ROOM_NUMBER = GLOB_ID
I also could find the code for my wished property (e.g. <PROPERTY-4CCC5747-F313-44B1-AA12-55B7B4EA9DA9>) through text-content, but it doesnt work in the parameter-script ... Is it even possible? If yes, please help with the code! 🙂
(Using Archicad 24-25)
2021-12-04 04:07 PM
From what I have read and tried it's only possible with the link to grasshopper, I have not tried with grasshopper but have looked and tried everything else I know.
I plan on trying to use grasshopper this weekend to see how/if it works.
2021-12-04 04:29 PM
Hi Daniel.....I've tried this before...sorry it is not possible 😞
Reading the Property and displaying - yes. Change something through the Property within the Object - no 😞
This is the best script for reading Properties:
https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels
works with stamps as well...
@SenecaDesignLLC
Grasshopper won't help since it can only place and read object, not change them
Last hope: Python
2022-10-18 12:46 PM
I am trying to do something similar as in the example script provided by Graphisoft, but without the user selecting the property through the user interface. In other words: I know which (custom) property I want to display in a door marker, but I can't figure out how to "select" this in the script (without using the UI-script included in the example). As far as I have understood it, you can not "call" or "request" custom made properties like you can do for global AC variables/parameters/properties...
2023-04-06 11:25 PM
I'm trying to do the same Beat.
The alternative im looking at is combining parameters in the Door 26 gdl. It seems like with some knowledge of gdl, efficiency gaps can be implemented where the more user friendly Property Manager fails.
If you find a solution, let me know! And vice versa
2023-04-07 02:11 AM
It's not currently possible, you can use the id to control gdl parameters and properties but not the other way.
2023-04-10 11:36 PM - edited 2023-04-17 02:03 AM
That's a snag that kills an avenue to completing my silver bullet solution to significantly reducing door schedule admin on large multi-story projects for the architects, the door supplier and the site team.
I'd like to combine a Door's Element ID, leaf width and orientation to be displayed both on the plans and in the schedule. The leaf width and orientation would update automatically if it were to be changed graphically in plan, or in the settings.
With the property manager, Element ID and Orientation can be combined, but not leaf width as it hasn't been provided in the list. Maybe there's a way? Im scratching my head
2023-04-11 10:47 AM
I Agree - ended up tinkering in the Door Marker GDL to display the wanted "size type" and works fine. No custom property needed
2023-04-11 03:17 PM
I found if I want custom anything it's GDL for me. The only objects I use from the ArchiCAD library are furniture. All my doors, windows, tags, labels, accessories are all custom.
This allows me to always display everything the way I want.
2023-04-12 09:41 AM
I finally found a way to create Properties fro gdl parameterts:
Example for Doors and Windows:
I don't use "list" parameters from the gdl such as "gs_list_acousticrating". I prefer Properties for non geometrical Data.
but "Acoustic Rating" is available in property calculations.
You can put a row of gdl parameters into the masterscript of any Door or Window.
Each parameter should be separated with an identifier (for example #1,#2,...)
parameters gs_list_acousticrating = "#1"+STR{2} ("%m", gs_leaf_thk)+"#2"+gs_handle_type+"#3"
Your property calculation for leaf thickness could look like this:
SPLITLEFT ( SPLITRIGHT ( {Property:Fenster\/Tür/Schalldämmwert}; "#1"; 2 ); "#2"; 1 )
For handle Type
SPLITLEFT ( SPLITRIGHT ( {Property:Fenster\/Tür/Schalldämmwert}; "#2"; 2 ); "#3"; 1 )
So one gdl parameter holds all needed gdl parameters and by splitting this parameter with identifiers into single Properties the bridge is done...
wow!
Something simpler could be provided by GS.