Get VA Window/Door Component Geometry

@fsalla @alfmelbev

I want to get the window leaf brep/mesh component from VA winodw object , I used explode VA object to get window components Breps ( and got 5 objects as below) ,

and at the same time I deconstructed the window Object via GH Style deconstruct ,and I got the list of components and get glass obejct via list matching , but surprisingly I got 4 objects as below

, therefor I am unable to get window leaf brep only via data matching (VA doesn’t show glass leaf in components list for doors and window) .

SO , is there any other method where I can access VA Winodw/doors components by name (e.g I want to get the leaf brep only , not all the window)
deconstruct window style test.gh (7.6 KB)

Hi @user883 , when you deconstruct the component of the window style, you only see 4 elements because the “glass” component is a sub-component of the “window leaf” component. That’s how you can obtain its parameters:


This is going to give you the information of the components by style, but not the dimensions of the object instances.

Unfortunately, it is not possible to identify the geometry of each component by the component’s name when you explode the geometry of a VisualARQ object. We have plans to add a component for that purpose in future versions. I’ll keep you posted.

hi @fsalla ,
since VA has python access API , can I access geometry for each component using python API? , if possible can you post an example .
this important because if want to get glass model for supplier , and leaf for frame for another manufacture for several doors and windows , then this might help .
I think also it is essential for the user to get access for every component data and relevant geometry in every object , since this this the heart concept of BIM .
regards

Hi @user883 there’s no API to access to the geometry of each component.
As a workaround, you can figure out the index of each glass component in the list of breps that comes out the “VisualARQ Geometry” component:

(The geometry of thee glass component is always generated after the “window leaf” Component).
And the same can be done for the “window frame” component.
Get Geometry from Window style.gh (14.3 KB)

I totally agree.
It’s essential to make it possible to access each component of a style, whatever style it is.
If it’s impossible, it’s also impossible to get material takeoff and cost calculation.

3 Likes

@fsalla @archist97 ,

thanks for the feedback ,
I saw it is possible to create doors and windows styles definitions in VA using grasshopper graphs , I am new to VA , and didn’t create single window style using GH yet , can you advise if using GH in making window/door style would solve the matter ? is it any different from VA default style maker?

No, GH style can not solve this issue. You can’t access each component even though you will create your own customized style through GH. i hope VA development team will make this possible ASAP.

2 Likes

Doors created with gh style doesn’t seems to have the list of component as the one created with default VA door? Is this normal?

Hi @Rui_Hang_Yong1 in order to have different components in doors created as Grasshopper styles, you need to have the geometry of each component in the Grasshopper definition connected to an “ending” Geometry Param.
You can check how it works in more detail in this tutorial: Doors windows - VisualARQ

Once the style is created, you can see the components after clicking on the arrow next to the style name: