Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: Setfocus problem

it is the method of Interface: WndBase so you need to access it like this (SME.GetMainframe()).SetFocus can i give order to second window in the z o…

3 years ago
Forum
Reply
RE: Setfocus problem

then try SetForegroundWindow, but slate editor that you mentioned actually has .SetFocus() function

3 years ago
Forum
Reply
RE: Get vertices affected by soft selection

Eugine_M: Maybe you know how do same with modifier #Edit_poly ?? I guess you could disable all modifiers above edit poly and use snapshotasmesh …

3 years ago
Forum
Reply
RE: Get vertices affected by soft selection

Eugine_M: Can someone please help with a solution? polyop.getVDataChannelSupport & polyop.getVDataValue meshop has similar methods as well

3 years ago
Forum
Reply
RE: NURBS things (selection and SDK)

Denis, do you know why most of max native dlls export a couple of NURBS methods? Project wizard bug? .dlx exports

3 years ago
Forum
Reply
RE: Check if certain dialog is minimized or not

IsIconic in newer max versions you can use python libs directly from maxscript. Check Executing Python from MAXScript in the mxs reference ( python.i…

3 years ago
Forum
Reply
RE: Remove drag and drop event handler

ok, then you could try to destroy view panel with all the viewports (since dnd handler is binded to a particular viewport it might help) see ViewPanel…

3 years ago
Forum
Reply
RE: Remove drag and drop event handler

I doubt that you can fix it with any of these as well. In sdk comments it says that this .Release method used on dnd manager shutdown and only if you …

3 years ago
Forum
Reply
RE: Remove drag and drop event handler

see if that helps fn asPtr hwnd = dotNetObject “system.intptr” hwnd g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance dnd_handlers = #() f…

3 years ago
Forum
Reply
RE: Close event handler on native window

Haven’t seen this method before, thanks! I checked the sources for these methods in core.dll and looks like there’s nothing to subscribe and listen to…

3 years ago
Forum
Reply
RE: Close event handler on native window

do you know what kind of notification code could it be? I guess it is possible to catch it with dotNetObject “managedservices.maxnotificationlistene…

3 years ago
Forum
Reply
RE: Close event handler on native window

Ok, I see what you mean. Using do not MatEditor.isOpen() for isChecked handler sure will work for macrobuttons. Topic starter asked exactly that.

3 years ago
Forum
Reply
RE: Close event handler on native window

material editor, render setup , light lister so it’s not possible for these I’m curious what’s cheaper to use performance wise. SetWinEventHook or …

3 years ago
Forum
Reply
RE: Close event handler on native window

Yes, but when subclassing a window you override WndProc of each window individually. Search for MessageSnooper and you’ll find a few mxs examples

3 years ago
Forum
Reply
RE: Close event handler on native window

If you want to keep it simple just probe once a second if any of these windows are still open. Otherwise you’ll need to use window sub-classing or ho…

3 years ago
Forum
Page 16 / 84