Hello all - I might be barking up the wrong tree on how to do this, but…
I’m trying to write some simple code that returns all instances of a component that is in a file. I’m not overly familiar with how to queery objects on the canvas in general.
I found a FindObjectByName function, however, it returns a GH_CompiledObjectProxy and there doesn’t seem to be a class associated with it as every time I call the type it doesn’t seem to get found.
So I guess the question is two fold - how can I call the type GH_CompiledObjectProxy and is this moving towards queering every component of a type on the canvas?
import Grasshopper a = Grasshopper.Instances.ComponentServer.FindObjectByName("Panel", True, True) print a