Renderman....no....classifications are not considered types. Inside of Autocad MEP you can assign classifications to any type of object. Consider the PipeFitting Classification List inside of Autocad MEP. It consists of Pipe, Coupling, Elbow, Takeoff, Cross, Transition, Tee, and Connector. One of those classifications is assigned to every pipe fitting. You can then filter a AEC schedule to only schedule a fitting based on its classification. MEP has the ability to create ANY classification list with an seemingly unlimited amount of items in the list. I have created a list for OMNI Classifications with over 8000 items in the list.
The same theory applies to every AEC object type. What I am attempting to do is to be able to select a certain type of MvPart. For our purpose today lets say VAV Boxes. I would like to create a filter that only selects VAV Boxes. From my previous code I know that I can use DXF Names to filter out everything but Mvparts. I now need to filter the mvparts to only get VAV Boxes. To do this I need to look at the MvPart Type Classification List and only select MvParts that have a value of VAV Box.
What you have shown will only filter the MvPart. Not the classifications.
There are several posts on the AEC Developer Blog about classifications and .NET
Here a couple:
http://adndevblog.typepad.com/aec/2012/07/recursively-listing-classification-definitions.htmlhttp://adndevblog.typepad.com/aec/2012/07/how-to-set-a-classification-in-a-property-set-definition.htmlThose two posts show how to print out the classifications in a drawing and how to create a property set based on a classification.
And here is a link to the help file explaining classifications
http://exchange.autodesk.com/autocadmep/enu/online-help/search#WScedd0d2069f88934137c60dfa2566d240-7fae.htmHopefully that helps people to understand a little better on what a classification actually is in Autocad MEP and Autocad Architecture.
Here is a link to a post that has some code concerning classifications. I need to study this to find out how to check if my entity has the correct classification attached to it.
http://www.theswamp.org/index.php?topic=38110.msg433644#msg433644And lastly I am hoping that Jeff pops into this thread as he has had some experience programming Autocad MEP and has dealt with classifications in some way.