Notifications
Clear all

[Closed] Get the SELECTED layer

I’m wondering if there’s any way to retrieve the selected layer? I know that you can retrieve the current layer easily, but there doesn’t seem to be a good way to get the selected layer.

Does anyone know if this is possible? I’m open for dirty hacks

7 Replies

this

1 Reply
(@simchris)
Joined: 11 months ago

Posts: 0

Wow, denisT is crazy! :bowdown: I didn’t even manage to retrieve the hwnd of the layer editor in 2017 though, you don’t happen to know how to do this?

No luck I’m still using 2014.

Have a search I posted about it in another thread, it’s much easier in 2015+

2 Replies
(@simchris)
Joined: 11 months ago

Posts: 0

Really? I’ve tried to search your posts, but you have sooo many so I wasn’t able to find the post you’re talking about. Could you give me a hint on what to search for? :shrug:

(@denist)
Joined: 11 months ago

Posts: 0

you have to practice in the forum’s searching

http://forums.cgsociety.org/showpost.php?p=8142111&postcount=17

after max 2015 a .NET control used in the layer manager dialog. it makes everything easier…

No wonder I didn’t find it, I searched for posts by DaveWortley. Thanks man :wip: