Rhinoscriptsyntax GetLayers in Python

Hi Steve,
I didn’t see any mention of this being added already… maybe I missed it. Is this on the near radar? If not, consider it a wish.
Thanks, --Mitch

That function is going to take a bit of work to implement, so I threw it on the wishlist
https://github.com/mcneel/rhinopython/issues/124

OK, thanks Steve. I guess the difficulty is hooking into the fancy layer list box with the tree view of sublayers? For the moment I guess I can kludge something together with scriptcontext.doc.Layers and use a MultiListBox.

Oops, dang, no MultiListBox method yet either… Hmm, kind of hard to get a selection of layers then… So put MultiListBox on the wishliist too…

Cheers, --Mitch

The work involved is figuring out how to get this to work for Mac. Maybe that really isn’t a big deal at the moment and I should just tackle that when I fix other UI related function on OSX.

Ah, OK, thanks. --M

GetLayers will be available in SR9

1 Like