I am using generic input parameter for Grasshopper input which is by default Gh_objectwrapper.
How can I cast retrieved input to my type which is I. E. called UniaxialMaterial?
When I try to write:
UniaxialMaterial mat = (UniaxialMaterial) uniaxial.
This casting produces an error that says it cannot convert gh_objectwrapper to UniaxialMaterial.