In the Legacy GHPython components we could easily get the user-defined type hints with a parameter TypeHint property but now that property seems to be obsolete in the new API. How would one get the type hint in the new IronPython and Python3 components?
#Obsolete in Rhino 8
for param in ghenv.Component.Params.Input:
print(param.TypeHint.TypeName)
One last thing… and I’m not sure how many people this would actually affect but I noticed in both IronPython and Python3 components is when a type hint is set to a Annotation TextDot the TypeName returns a generic type of object instead of TextDot