Assigning subcategory to element in family

I’m using the FamilyInstance.ByGeometry node from the SpringNodes package. Once I’ve created the freeform geometry in the families, is there a way I can create a new subcategory in the family instances and apply that subcategory to the geometry in that family instance?