How to filter selection based on property from property set ?

How to filter selection based on property from property set ?

Angayo
Advocate Advocate
1,039 Views
7 Replies
Message 1 of 8

How to filter selection based on property from property set ?

Angayo
Advocate
Advocate

Dear forum members,

 

Filter and QSelect and SelectSimilar allow to filter a selection on based on some criteria, but none seem to include properties one has assigned oneself to objects via Property Set Definitions in the Style Manager. Does anyone know how to select say all the spaces that are identified as kitchen ?

0 Likes
1,040 Views
7 Replies
Replies (7)
Message 2 of 8

dbroad
Mentor
Mentor

If you have a separate kitchen space style, it should be relatively easy to use select similiar.  You could also use classifications to filter your schedules.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 8

Angayo
Advocate
Advocate

We don’t have a seperate kitchen style.

 

“You could also use classifications to filter your schedules.”

What do you mean ?

0 Likes
Message 4 of 8

dbroad
Mentor
Mentor

Why don't you have a separate kitchen style?  Spaces are intended to be styled.

 

By adding a kitchen space style and by adding a kitchen BOMA space classification, you could filter all the spaces in a kitchen space schedule style to report only kitchen spaces.  Having a schedule that lists only kitchens would allow you to total square footages for those occupancies and would allow you to zoom to those spaces.  BOMA space classifications are style based, not object based so you would need separate styles to support those.  I guess you could try to do everything in a single space style but that defeats the purpose of having space styles.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 5 of 8

Angayo
Advocate
Advocate

Thank you for your suggestions.

 

I don’t have a seperate kitchen style because I know of no good reason to have one. More styles implies more overhead. I have ventilation room style and other styles as well. Kitchen is a possible subID for a ventilation room. In some projects there are more than 100 different room subIDs, each room receiving a unique ID. With a kitchen style I would be able to easily find all kitchens in appartment buildings and the other room types (typically in the order of 25), but still not be able to filter on height, wall type, orientation or infraction risk. Being able to filter on property would allow all that with little overhead.

 

I am not interested in a schedule that only lists kitchens. Retrieving total square footage of all kitchens kan be done in a spreadsheet.

0 Likes
Message 6 of 8

David_W_Koch
Mentor
Mentor

You would need a custom command to do that.  The out-of-the-box functions do not include filtering selection sets by Property Data values.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 7 of 8

dbroad
Mentor
Mentor

To add to what David said about customizing, it takes a lot more overhead to do that than to add a kitchen space style if you want to aggregate the kitchen areas.  We're probably taking a .NET or ObjectARX programmer level intervention to reach these objects at their native levels. $$$

 

Adding a space style takes about 30 seconds.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 8 of 8

Angayo
Advocate
Advocate

OK, so it cannot be done without programming. I don’t mind getting into programming. I asked about that in the Customization forum, but received no suggestions.

 

dbroad : “Adding a space style takes about 30 seconds.”

The overhead would be in either

  • finding all the ventilation rooms that are kitchens to change their space style, or
  • dealing with the complication of having another space style (like lengthening lists and requiring more switching between styles).

 I assume that if manage to write a custom command that allows to filter on kitchen property, it would be easy to expand that to other properties.

0 Likes