Set value for Section Style - Grasshopper

Hi there

I am creating multiple slab/beam/styles in grasshopper. Since there are many, I would like to edit the Section Style value directly from grasshopper. This way I don’t have to do it manually and don’t have to do it again if I change anything in the file from which I am generating these styles.

I was able find the “Section Style” attribute using the Property Names, but can’t seem to be able to overwrite the value using Set Value. I would like all of the styles to be “By Layer” (the equivalent would be setting it as I have it in the window screenshot below). Is it possible to do this from grasshopper?

Thanks in advance :slight_smile:

Hi @Luiza_Longo this is not currently possible. You can change that manually in the styles dialog for all desired object styles and save it as a custom template, so you don’t have to do it every time.

Hi! Thanks for your answer. Alright, I will do it directly on the styles panel. It would be useful, though, to be able to edit this property from grasshopper, especially when creating tens or even hundreds of families :slight_smile:

Thanks again!