Feature request: %<this.host.style>% inside GH styles

Hi all,

Since we now have this beautiful GH styles guide on the new VA help site: Grasshopper Styles | VisualARQ help

With these basic GH style host reference options:

And we also have a workaround for referencing and using blocks in GH styles:

Wouldn’t it be great to have the ability to work with %<this.host.style>%?

I’d like to read the style properties of host objects (walls, slabs/roofs). For instance names, widths and section atributes of their layers. I would like to read not only “general style” properties, but also any “modified (by objects) style properties” of individual host objects.

This could be a game-changer. For instance, this could help to solve GH window wrapping in multiple multilayer façade scenarios, allowing us to handle everything within a single GH window style. It might even be possible to match section attributes, layers or materiality of GH style geometry to those of host layers automatically - eliminating the need for manual adjustments or number of different styles for each project.

One GH style to rule them all, one GH style to find them…:man_mage: :smiley:

What do you think?

Thanks,

Michal

3 Likes

Hi @MichalKrizo thanks for this request. We will study the way to implement this, and be able to retrieve information of the host object style when creating a Grasshopper Style.

Regarding the option to recognize and assign attributes to the VisualARQ Styles according to Host attributes or parameters, that’s a different story. We’d like to make it work, of course, but we first need to make the R8 components that deal with attributes compatible with the VisualARQ components and styles.

:laughing:

1 Like

@MichalKrizo This could be insanely awesome! It would be useful for multiple advanced operations during the design phase! Great suggestion!

2 Likes

+1 on this!

Accessing host style parameters would be great. Instance-based i/o for grasshopper styles in general would be a hugely interesting feature. I guess the main use case would be doors and windows referencing more detailed properties of their hosts, but more advanced construction parametrization in general could profit from this greatly

@luisbarthelemy can you specify which details or properties of the host you wished to obtain?
You can already get a bunch of properties of the host object (height, thickness, name,…)

In that case it would be custom properties. I am building a grasshopper wall style for timber framed walls and would like to get the height of the top plate and bottom plate, so that I can insert a fitting stud left and right to the window, going until the horizontal plates. That means, it would be at least the cross sections of the studs and the plates, plus maybe some more because I’m having complex ideas! :nerd_face:

The idea is to give the cross section of the timber in the wall style, to then have a generic timber frame wall builder.

Anyways, for now I can also just give these parameters manually as input to the custom window style. Another option would be to go over a document property for the timber frame walls which I get in the definition via the Get Property component. At any rate, having that automated would mean that the window style would only work if able to retrieve that parameter (or it has to be null safe).

Absolutely loving VArq so far!!

Is there a list of the parameters which are already obtainable like this?

Hi @luisbarthelemy you can figure out the strings to be used in the syntax for obtaining the host object properties/parameters in the “Property Names” component:

If the host object is a wall created as a Grasshopper Style, the Property names should also display the strings of that wall parameters.

1 Like