There are a few other posts related to this topic, but I wasn’t able to find what I needed and am opening a new one. Let’ say we have a zero touch library like this:
Assembly = Food
Namespace = Fruit
Class = Apple
Class = Strawberry
Class = Blueberry
When importing to Dynamo, the library would look like this by default (drill down to see more):
Food
Fruit
Apple
Strawberry
Blueberry
But what if I want to put Strawberry and Blueberry together into a group called “Berries” without adding a new namespace for Food.Fruit.Berries? You can accomplish that with explicit nodes with the [(NodeCategory)] attribute, but in my testing that attribute doesn’t work for ZT nodes aside from specifying Create, Action, and Query. I’ve also had some success using a customization XML file per this guide, but only to the point where I can remap an entire namespace but not individual classes within that namespace. It seems like this is what the <classes>
tag should do, but I’m lost on what that actually does and haven’t seen any examples to explain further.
<classes>
<!--Remap Class Names-->
<class name="Autodesk.Dynamo.MeshToolkit.Display.MeshDisplay" shortname="MeshDisplay"/>
<class name="Autodesk.Dynamo.MeshToolkit.Mesh" shortname="Mesh"/>
</classes>
So in a nutshell, I’m trying to organize my package library into different levels without adding a ton of namespaces.