Hello, I create a routine to select geometry from Revit (rhino inside) and filter it for the area value. I like to erase the geometry that is under a value area but i don´t know the way to make it. It would be perfect if it dissapear in Revit also.
Thanks a lot.
Hi John,
Additional info is needed. It looks like you have one Graphical Element and getting multiple breps out of it.
What is the Graphical Element? Modifying the Elements in Revit will depend on what type. Providing a small example would be helpful. Thanks.
This won’t work if you have multiple geometries in one of your elements (lists won’t match). I’ll create a quick example of how you could deal that scenario.
Japhy,
When you have the element separate in two list how you delete one of this?
Regards.
Connect the B to delete the revit element.
Here’s a scenario with multiple geometries in the Element.
Thanks a lot, it´s oki! And if we only want hide and not delete?
Regards.
John, That would be per particular views. The most general way to do this would be to add a parameter to the elements and a corresponding parameter filter, which you could apply via view template.
Is that what you are thinking?
Japhy,
I am thinking in a way to hide the selection in Rhino before to delete elements in revit. On this way you can insurance of you selection before to erase.
Regards.
Adding a parameter value is a good way to go here. Something like OFF in the comments, or even a custom project parameter. This way you can control visibility and selection via filter.
I’ll post and example.
Here’s an example of creating a selection filter as well as a parameter filter (which can be applied to a view)
SortDS-Areas_sort.gh (13.3 KB)
You can also re-reference the filter by right clicking the Graphical Element
Another option you can do here is remove the small geometries and recreate your direct shape, then delete old ones.
Do note that you will need to pass through any names, categories & parameters you would like to keep.
Thanks so much!!!