Overwriting Elevation Parameter in Window Styles

Hello!

I am creating a Grasshopper Window Style where the height and length of the window follows the host’s height and length. I have set a parameter “Yes/No”: ‘Yes’ if the window’s height and length follows the host, or ‘No’ if the height and length can be adjusted by object.

I would like the ‘Elevation’ parameter to be automatically set to ‘0’ when the parameter I have mentioned above is set to ‘Yes’, however also require the flexibility to adjust the elevation when the parameter is set to ‘No’.

Hence, I would like to check if there is any way to overwrite the built-in “Elevation” parameter in the grasshopper style? I have tried to create a slider in the grasshopper style, with the name “Elevation”, however it just creates another parameter on top of the default existing Elevation parameter.

Hi @Aretha the “Elevation” property exists in all doors and windows. If you create a new one in your Grasshopper definition, just give it a different name so you can distinguish it from the default “Elevation” parameters. It is not possible to overwrite the existing one.