DaveWortley
@davewortley
New Member
Joined: Feb 14, 2024
Topics: 195 / Replies: 934
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

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…

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

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 …

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

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…

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

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…

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

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…

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

Ah it’s not the selected layers I need it’s the highlighted layers…

9 years ago
Forum
Reply
RE: Get Selected Layers (3dsmax 2014 and below)

Urgh… looks disgusting in Max 2016… layermanagerHWND = (for o in (windows.getChildrenHWND 0) where matchpattern o[5] pattern:“Scene Explorer*” do ex…

9 years ago
Forum
Topic
Forum
Replies: 16
Views: 51
Reply
RE: Get all selected modifiers from stack

Perfect! I started a new thread for this so it’s easier to find. I’m going to look into 3dsmax 2015+ too.

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

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…

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

Hmm this just crashes max… layermanagerHWND = (for o in (windows.getChildrenHWND 0) where matchpattern o[5] pattern:”Layer:*” do exit with o)[1] la…

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

So made progress… but now stuck with getting the selected items. LVM_GETSELECTEDCOUNT returns 1… always. layermanagerHWND = (for o in (windows.getC…

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

Cheers found it… print (windows.getChildrenHWND 0) #(6292968P, 65552P, 477026P, “#32770”, “Layer: 0 (default)”, 477026P, 6292968P, 477026P) I can g…

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

I’m trying to find the HWND of the layer manager… print (windows.getChildrenHWND #max) Not finding it…

9 years ago
Forum
Reply
RE: Get all selected modifiers from stack

@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…

9 years ago
Forum
Page 18 / 76