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.
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.
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.
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.
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.
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…)
@Leo13 do you mean to create some icons that import Revit objects by type? that’s something that could be done tweaking a bit the GH file and running it with the Grasshopper Player.