We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-09-25 11:37 PM
Welcome to a new week everyone, question for the wise. I created some custom properties last week to modify the representation of window/door dimensions in the window schedule. However i went to make the same changes to the "Leaf Dimensions" representation, and was frustrated to find no parameters to use within the properties selections. The Schedule has an addable field / parameter which is titled "Leaf Dimensions" , but there is no further options that the W/D has (Nominal W/D Opening Height on the reveal side" for instance. and the "Leaf Dimensions" Parameter doesn't even show when within the property manager.
Any Ideas? I'm hoping you guys know of a workaround for this (happy for the challenge of scripting if required).
Kind Regards Samuel H
2022-09-27 01:58 PM
If I understand it correctly, you are trying to use a Library Part parameter when creating an Expression-defined Property. Unfortunately, Library Part parameters are not available for use in Expression-defined Properties. It is a functionality that has been wishes for multiple times.
2022-09-27 11:25 PM
Hey laszlo , thanks for getting back to me.
And ive attached two images below for reference,
I understand that library part parameters are unable to be used in expressions, but i am confused as the "Leaf Dimensions" Parameter that i am referring to is actually within the parameters & properties field, not the "library part parameters field". Evidently the data is available, but for some reason is hidden. Is there information available on how the GDL of Archicad interfaces work specifically - not just GDL objects. Trying to learn how Archicad decides to list those options specifically and why, within the scheme / property manager interface, because it cant be specific object based?
Sorry to be a pain, but this type of information is difficult to find.
2022-09-28 10:57 AM
I see, you are right, that specific parameter is not a Library Part parameter.
However, it is still not available for Property Expressions.
There are certain parameters (not this one) that are not available for Property Expressions because the 3D model would have to be generated to calculate their value and that would take too much time so there are performance considerations behind their unavailability.
However, I speculate that the "Leaf Dimensions" parameter is not available for another reason and that reason is that it is not a single value (e.g. 900 mm) that could be used in Expressions. It is a text (string) value (e.g. 900x2100) that is composed of other parameters. Maybe this is why this and several other parameters (e.g. Egress Dimensions, Reveal Dimensions, Unit Dimensions) are not available for Property Expressions. This is not 100% certain but this is my educated guess.
2022-09-28 11:40 PM
Okay no issues with that, the combined parameters within a text string would make it unusable which i had considered when theorizing my outcome, which is what leads into trying to find out how the scheme is listing a combined "leaf dimension" string, when the door macro only has leaf width & leaf height parameters listed separately - like how are the parameters that are selectable in the scheme created, and can you create additional ones? if there is a parameter combing the data, then surely it can be reduced to its basic form and seperated?
i just cant see a difference in making a "Door Leaf Width" & "Door leaf Height"parameters individually the same as the "W/D Opening width" & W/D opening Height" parameters that are selectable in the property manager.
Thanks Laszlo
2022-10-01 01:48 PM
Yes, I don't know why some of those parameters are available both as Listing Parameters and Parameters available for Property expressions, or how it is decided.
In the case of the "Leaf Dimensions" parameters, I think what happens is The Interactive Schedule Add-On takes the Nominal Leaf Width and Nominal Leaf Height parameters of the Door library part and ads some text in the middle to generate the value displayed in the "Leaf Dimensions" schedule field.
If you think certain parameters should be available for Property expressions you can make a wish for it.