Yep, but you can’t press/make a button to make those highlighted layers selected it would seem. I’ve told Autodesk to sort it out but I doubt we’ll se…
So the method I’d like to access for the 2016 layer explorer is to set the selection… but whether this will flag the layers as selected internally in …
In <= max 2014 you could pick a bunch of objects in your scene, press a button in the layer manager to find out which layers they were in, this wou…
Ah yes, now I remember, I wanted to set the layer selection in Max 2015+ as i wanted to recreate the functionality of max 2014 which was to be able to…
No I’m wrong, that’s easy to figure out as well… there was something I was missing from max 2016… let me look again…
Ah it’s not the selected layers I need it’s the highlighted layers…
Urgh… looks disgusting in Max 2016… layermanagerHWND = (for o in (windows.getChildrenHWND 0) where matchpattern o[5] pattern:“Scene Explorer*” do ex…
Perfect! I started a new thread for this so it’s easier to find. I’m going to look into 3dsmax 2015+ too.
I’m wondering if the ‘selected’ is for which layer is ‘ticked’ as the active layer internally. And maybe the highlighting that we refer to as selected…
Hmm this just crashes max… layermanagerHWND = (for o in (windows.getChildrenHWND 0) where matchpattern o[5] pattern:”Layer:*” do exit with o)[1] la…
So made progress… but now stuck with getting the selected items. LVM_GETSELECTEDCOUNT returns 1… always. layermanagerHWND = (for o in (windows.getC…
Cheers found it… print (windows.getChildrenHWND 0) #(6292968P, 65552P, 477026P, “#32770”, “Layer: 0 (default)”, 477026P, 6292968P, 477026P) I can g…
I’m trying to find the HWND of the layer manager… print (windows.getChildrenHWND #max) Not finding it…
@DenisT – Genius! Could you use the same technique to find out which layers are selected in the Pre-Max2015 layer editor? And for both scenarios, wha…