Hi guys,
Is it possible to get type of the GH object without casting to specific type as below:
foreach (IGH_DocumentObject obj in GrasshopperDocument.Objects)
{
var slider = obj as Grasshopper.Kernel.Special.GH_NumberSlider;
}
Thanks,
Dmitriy