Grasshopper

algorithmic modeling for Rhino

I have made a copy of the edge of the surface and place them in grid via for loop. The new I have print out the copied edge and found that they have no ID but they are the instance.

Something like this:

<__main__.drawBrick instance at 0x0000000000000152>
<__main__.drawBrick instance at 0x0000000000000153>
<__main__.drawBrick instance at 0x0000000000000154>
<__main__.drawBrick instance at 0x0000000000000155>
<__main__.drawBrick instance at 0x0000000000000156>

However the normal curve id would be like this:

e75cc76b-f698-4fce-a3f1-5450de260fcd

I would like to crete id for each instance, what should I do in Python?

Thank you

Views: 559

Replies to This Discussion

Are you using rhinoscript syntax or Rhino common?

It will be much easier if you can post some of your code for us to see. It will allow us to give you better direction, quickly.

Hi Mat,

Thanks again here. The code and more explanation is here

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service