3ds max 2018 - window class changed

3ds max 2018 - window class changed

Anonymous
Not applicable
645 Views
3 Replies
Message 1 of 4

3ds max 2018 - window class changed

Anonymous
Not applicable

Hello Everybody,

 

We are trying to find the window of 3ds max by using class name (to call from other application), till previous version, we got work with class name "3DSMAX".

 

But, in version 2018, this name is changed to some QT5QWindowIcon, but, this class name is given to some other windows also. We need to get only main window class name only.

 

can anybody suggest how can we get the proper class name for main window.

 

Regards,

Kiran.

0 Likes
646 Views
3 Replies
Replies (3)
Message 2 of 4

drew_avis
Autodesk
Autodesk

Hi Kiran, see if this help topic answers your question:

http://help.autodesk.com/view/3DSMAX/2019/ENU/?guid=__developer_3ds_max_sdk_features_user_interface_...

 

Hope that helps,

Drew



Drew Avis
Content Experience Designer
0 Likes
Message 3 of 4

denisT.MaxDoctor
Advisor
Advisor

@Anonymouswrote:

 

We are trying to find the window of 3ds max by using class name (to call from other application), till previous version, we got work with class name "3DSMAX".

 

But, in version 2018, this name is changed to some QT5QWindowIcon, but, this class name is given to some other windows also. We need to get only main window class name only.

 

can anybody suggest how can we get the proper class name for main window.

 


are you looking for MXS or SDK solution? 

0 Likes
Message 4 of 4

denisT.MaxDoctor
Advisor
Advisor

why do you need to know the max main window class? 

If you want to know Max Main window HWND, it's:

windows.getmaxhwnd()

or

p = (dotnetclass "System.Diagnostics.Process").GetProcessesByName "3dsmax"
p[1].MainWindowHandle

using second method you can find all "3dsmax" processes and their windows if any

0 Likes