How do I change the height of the railings with GH?

I’d like to do change the height of the railing with GH. But when I set the component, the railing disappears from the viewport. Please tell me what I’m doing wrong.

Thank you for reading.

reference
VisualArq Grasshopper Tutorial | Railings

Bifocals (by marcsyp)

https://www.food4rhino.com/en/app/bifocals

Hello @小林_由紀 ,

the railing component works by default, white component, without a railing options component because it loads with some default values.

If you want to just change the height of the default railing option you can do the following

which is deconstructing the default options and reconstructing them with only the height being changed with a slider.

Your approach does not work because you are trying to set custom options, but the component remains orange which means it does not have all the necessary inputs to compute, so then in turn the railing component fails too, again orange meaning missing input data (if there was red anywhere would mean error in input data and/or calculations).

So if you indeed want to define custom options and not only change height, you need to provide all inputs to the railing options component, specifically the railing style S which is empty by default, and/or the other too according to your preference.

in this case besides the height the baluster is circular instead of rectangular, the railing rail has other dimensions etc.

railing height.gh (16.4 KB)

best,
alex

1 Like

Hi @小林_由紀, in addition to the tips provided by @ng5_Alex, you can use the Set Value component to change the railing height:

(The preview of the new railing doesn’t seem to work, but if you bake the result, you will get the railing with the new height).

1 Like

This has been fixed in VisualARQ 3.10 RC1