ObjectID keep changing

Hi guys,
I have some problem while getting the GUID of a brep.After I create a brep in rhino,I used brep in GH and pick the brep in rhino.And somthing strange happened,the objectID keep changing as I test over time.
I know that I can use GetObject() to get the GUID,and it truely works fine.But I still wonder why this happened.Followed with code and model.ObjectID.3dm (30.1 KB) ObjectID.gh (7.5 KB)

Hi @alexich_gong

Try setting the type hint of the input to guid, that should give you the correct GUID of of the object. ObjectID_2.gh (12.8 KB)

1 Like

Hi,David
That really works and I find something new for me.
Best thanks to you.

1 Like