Rhinoscriptsyntax GetLayers in Python


#1

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


(Steve Baer) #2

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


#3

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


(Steve Baer) #4

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.


#5

Ah, OK, thanks. --M


(Steve Baer) #6

GetLayers will be available in SR9