Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

BIM Interoperability Tool

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
mbouvelleY9Z8V
1581 Aufrufe, 5 Antworten

BIM Interoperability Tool

Hi

 

I am trying to count filled regions in Revit file, with the model checker. 

I created a filter for the category filled region, but it doesn't find anything, when I run the  check I get result:0

Can someone tell me why?

Thanks for your help.

mbouvelleY9Z8V_0-1590063964717.png

 

5 ANTWORTEN 5
Nachricht 2 von 6
JasonKunkel
als Antwort auf: mbouvelleY9Z8V

Oddly enough, Filled Regions (and many other annotation elements) are not the category you would expect - in this case OST_FilledRegion. They are OST_DetailComponents. Many other elements are, too, so you end up with a lot of items you don't want. Once you start with the right category you will need to filter out things that you don't want. I would recommend getting the Revit Lookup Tool to query elements in your model and see what properties they have that you can drill into. The Lookup Tool also lets you know the true category that elements are.

 

This is a 3-part deep dive into making complex checks. I would suggest taking a look and seeing if anything here helps as well.

https://www.caddmicrosystems.com/blog/2019/06/advanced-revit-model-check-part-1/

https://www.caddmicrosystems.com/blog/2019/07/advanced-revit-model-check-part-2/

https://www.caddmicrosystems.com/blog/2019/08/advanced-revit-model-check-part-3/


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
Nachricht 3 von 6
mbouvelleY9Z8V
als Antwort auf: JasonKunkel

Thank you so much for your message this is really helpful. 

I still have a question tough, I filtered detail items category + family name =  "Filled regions", it works but in the results I get all details items that are not filled regions but that contain some (Bricks, screws...). Any idea how I could remove those from the results?

 

Thanks again

Nachricht 4 von 6
JasonKunkel
als Antwort auf: mbouvelleY9Z8V

That's wild. Somewhere in the definition of the details and repeating details it must know it has a Filled Region and is reporting it back.

 

Another route to try. You can refer directly to the class used in the Revit database by referring to the API Type in the filter criteria. This is usually as far as you can go with these checks, but testing might get you some more granular results. Looking for Autodesk.Revit.DB.FilledRegion will get you all the instances and Autodesk.Revit.DB.FilledRegionType will get all the types.

 

mc-api-filledregiontype.png

mc-api-filledregion.png


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
Nachricht 5 von 6
mbouvelleY9Z8V
als Antwort auf: JasonKunkel

That worked. 

 

Thanks a lot

Nachricht 6 von 6
AntonioCanero
als Antwort auf: mbouvelleY9Z8V

Is there a way to use "Count" as a property to filter element count >1?


Thanks

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report