Subcategories

Hi Everyone;

I have successfully created new subcategories using clockwork and checking the API

http://www.revitapidocs.com/2016/aba44eba-9882-54cb-fe52-30553a684c34.htm

Now I want to assign said subcategories to specific elements in the document.

So I’m using the set parameter node, that works like a charm usually.

The problem is that it wont understand the string of the subcategory, it needs the correct ID.

Is there such a node as material by name for subcategories?

Something where I input the string and it returns the identifier in the document.

I’ve been Scouting the API and subcategories don’t seem that straight forward, I cant even seem to be able to access them as part of the Category family, but I’m pretty new at the Revit API.

Any help will be much appreciated.

1 Like