Doors and windows Families from Revit to VA get no parametrization at all

Hello everyone,

I tried to get doors and windows families from Revit with Visualarq script which can transfer the model between them whit success. The problem is that the doors and windows doesn’t change sizes at all after they are in rhino. How can I get the family I tranfered to have height and width editable parameters?

I tried scalling it but the only thing gets bigger is the hole on the host wall, but the block keeps its fixed size.

Anyone?

@fsalla

Hi @Leo13, excuse the late reply on this. The doors and windows that are transferred from Revit to VisualARQ are created as styles from blocks, because there are no common parameters to replicate the same geometry of door and windows in Revit in VisualARQ doors and windows. Therefore, these new door and window styles don’t have the option to change their profile dimensions parametrically, as native doors and windows in VisualARQ do.

If I explode those blocks from revit to use the geometry, how could I make them editable??

H @Leo13 What do you mean by “editable”?
All the objects in Revit that are exported to VisualARQ as Direct shapes (just geometry) can’t become parametric objects in VisualARQ. You can create new object styles from that geometry, using the “from blocks” option that some styles have. You can also transfer these exploded blocks assigning custom parameters or object types that VisualARQ can read.

how do I assign custom parameters to the exploded blocks?

@fsalla

Hi, 13

Some doubts can be clarified by first trying the expected process flow, which will make the intended goal clearer.
wip
d200125_twisted-column-mm_merge_RevitToVA-Styles-1.0.gh (98.3 KB)

This is my attempt to convert Revit objects to VisualARQ, incorporating the parametric concept from the VisualARQ sample file “twisted-column.” In general, the logic should be to obtain the object, decompose the geometry into points, lines, and surfaces, then add parameters or change the geometry. Finally, the geometry can be declared as a Rhino block or the definition of the battery group can be adjusted into a non-Rhino Inside Revit definition group, which can then be re-imported into VisualARQ as a VAL component.

Additionally, since I am not an internal developer, the specific production interaction process should be consulted with the VisualARQ and Rhino Inside project teams, where feature requests can be made. Doing so can sometimes be more helpful than frequently posting similar inquiry threads.

Hi @Leo13 find attached an example of how to assign custom parameters to exploded blocks. In this script you can see how this is applied on a column cretaed in Revit. This script is a simplified version of the resource on food4Rhino to transfer Revit models to VisualARQ for column objects.
You can test it by inserting a column in Revit.

The definition brings the Revit Column to VisualARQ, reads its parameters and picks one of them to create a VisualARQ Object parameter.

On the other hand, the imported column (generated as a column style from a block), is exploded into a block, so you can get the resulting geometry.

Finally that geometry can be baked after getting the Object parameter (and the corresponding value) obtained from the original Revit column.

RevitToVA-Bake Column Parameters.gh (84.6 KB)

Hi @fsalla, I didn’t have time to look at the scripts posted here, but the problem I had was with doors and windows. The rest of other types were fine.

Also, as a future wish, it would be nice if it was possible to the user to able to create a button for elements, so I can have a button for kitchen elements, another to bathroom and so on… It could be the same illustration, only being able to edit the colour.

Hi @Leo13

You can apply the same process as you can see with the Column. You can obtain the geometry from the blocks in the door and window objects, and assign them the Revit parameters obtained from the original door or window.

That’s something that you can do in the original script. You can create individual Bake buttons for the imported objects and styles according to your desired criteria (bake by Object type, by Style, etc…)

Hi @fsalla, I tried using the script changing the styles and components from columns to windows and it doesn’t recognize the names, although it is showing it in the yellow pannel as you can see in the images. I tried recomputing, but still not working.

@fsalla This is what appears in rhino window

I tried your script but unfortunatelly have the same problem as I had with Francesc’s fille. When I change the column style for window style it became orage without proceding the information, even though is being properly feed.

@fsalla do you know what is happening?

I tried changing the revit language to english, without success…Also tried deleting all other types, leaving only the windows, and still have the same problem.

do you know what might be happening?

Hi @Leo13 I’ve adapted the original GH file to bring Revit objects to VA to transfer windows that are exploded, and the resulting parts can be baked taking the values of a specific parameter from the Revit Window.

RevitToVA-Bake Window Parameters.gh (178.3 KB)

But I’d like to ask the original purpose of this request. What’s the point for you to explode a window and bring the different geometrical parts to Rhino with some parameters assigned?
Wouldn’t it be better to import the window as a block with all parameters, as the original definition does?
Which was the original goal? Just reviewing the first messages I can see you were interested to bring Revit windows to VisualARQ and edit them parametrically in VisualARQ, and this is not possible.