Query subcategory of CAD instance

Hi there, is it possible we can Query subcategory of the Linked CAD instance by RIR? Thankyou

I try the element subcategory that gives me NULL. What I want to achieve is draw Revit walls by curves since we need different wall types for different layers, so it’s meaningful for me to access curves by layer name(sub-category ).

I know there is a workaround: I can query the DWG, then bake it back into Rhino and Align the CAD with the linked CAD using Elefront to filter curves that I need. But I was curious how far RIR can go…

@LOKI1 you can also try the following trick using Rhino.Inside.Autocad instead of importing cad files

The one way would be to save your cad files based on the layers names and keep only the required layers turned on and import all of them. In this way you can easily extract the curves and create the relevant wall types.

Thanks for sharing, Mohammad. Since the linked CAD in Revit has been re-orientated to project north so it would be easier to do with Revit but yea I will give a try to see how rhino inside autodesk works with that.

Hi @LOKI1,

If you need to obtain this :

You can use ‘Category SubCategories’ or ‘Query Categories’ like this: