Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Get object GUID in grasshopper Python component

$
0
0

Hello,

I am trying to reference a piece of geometry, eg a BREP, into Grasshopper from Rhino, then plug this into a Python component and find out what its GUID is. Im using RhinoCommon not rhinoscriptsyntax.

The reason that (i think) I need the GUID is so that I can look at and change attributes and user data attached to the referenced geometry. I know how to do this with geometry I have created in grasshopper and baked (because then I have the GUID), but im stuck when referencing something that was created in Rhino, or that I imported to rhino from another software.

I wonder if someone can help. This must be a really basic question but I have been trying for a long time to find the answer (looking through the rhino common API, reading forum posts, trying all sorts of things that aren’t working), so I guessed its time to post a question here. I think/hope it will either be a simple answer, or I am misunderstanding the basic way this works!

Any help or advice appreciated

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles