Hard coded node for "Category"

Since installing 2.01 Dynamo, I’ve noticed a number of our scripts have lost the selected “Category” they were saved under. “Conduits” is typically set to “Ceiling = Thermal/Air Barrier”.

I’d like to hard code the category on some of our scripts, there has to be an easy way of gathering categories other than the dropdown supplied node in the screenshot. Anyone have any tips on this?

The Category.ByName node with a string input, or the code block version would be Elements.Category.ByName("Conduits");

6 Likes

You are awesome! Thank you so much! Working as expected!