McNeel Forum
Get layer of an object with rs.ObjectLayer(x) inside Python compnent
Grasshopper
grasshopper
,
python
clement
January 26, 2018, 3:35am
2
I think you’ll need to set the “Type hint” differently, below seems to work:
image
1265×790 128 KB
_
c.
Pass "current layer" information onto grasshopper? [SOLVED]
show post in topic
Related topics
Topic
Replies
Views
Activity
Finding layer of object in grasshopper python
Grasshopper
2
522
May 26, 2021
Viewing referenced curve's layer
Grasshopper
windows
3
523
September 8, 2021
Get object GUID in grasshopper Python component
Scripting
windows
4
906
February 9, 2024
rs.getObjects in Grasshopper
Grasshopper
windows
,
python
5
328
February 17, 2024
Get sub layer's object from rhino to grasshopper in c# visual studio
Rhino Developer
rhinocommon
,
grasshopper
,
scripting
6
2091
May 15, 2019