Getting GUID from Grasshopper Breps

Is there a way to get a guid from brep geometry in grasshopper that is referencing an object in Rhino? We are able to get the geometrybase, but it does not have an ID.

Likewise, in the basic example of

everytime the run button is pressed, the guid changes. How can this be set to not change?

Like this?

Yes! Is there any way to do this in python given the brep geometry?

Thanks for the quick response.

In ghpython, you can check the input type hint “Guid” and just print the string…


How do you get the GUID of a Brep (via python in the script) if you need to keep the Type Hint set to Brep?



Same question. So basically how to use the ID component inside python?