For Plug-ins distributed as User Objects containing ghPython component (ie. Ladybug, Honeybee, Gismo):
try: ghenv.Component.AdditionalHelpFromDocStrings = "*int*"
placed right after docstring was used to sort components into sections in SubCategories (in the same fashion as in your second link). However, it seems that this doesn’t translate for compiled components.
Thanks for the link, I will look into the Exposure attribute and report back.
class getUTM(component):
def __new__(cls):
instance = Grasshopper.Kernel.GH_Component.__new__(cls,
"1. Get UTM", "getUTM", """Downloads a WTK definition of UTM projection at given location.""", "DeCodingSpaces", "Util - Projection")
instance.Exposure = Grasshopper.Kernel.GH_Exposure.primary
return instance
On GH load I get “TypeError: Expected property for Exposure, but found GH_Exposure.”