hdmaster
@hdmaster
New Member
Joined: Feb 14, 2024
Topics: 3 / Replies: 12
Reply
RE: 3ds Max 2016 SDK problem in Visual Studio 2012

Have you tried setting the button class manually? … CONTROL “Add”,IDC_CUSTOM1,“CustButton”,WS_TABSTOP,14,112,37,14 CONTROL “Remove”,I…

8 years ago
Forum
Topic
Forum
Replies: 0
Views: 16
Reply
RE: Enable/disable controls at runtime in C++ material plugin

Oh, I just realized that I’ve used the ParamMap2UserDlgProc only for object plugins and utilities. You should be able get the HWND of a rollout inside…

8 years ago
Forum
Reply
RE: Enable/disable controls at runtime in C++ material plugin

Yes, I think this is the preferred way of doing this The only other option I can think of is using a transient, read-only proxy parameter in your par…

8 years ago
Forum
Reply
RE: SDK: BitArray::SetAll broken in Max 2014/2015 ???

You probably forgot the WIN64 preprocessor definition Solution:

8 years ago
Forum
Reply
RE: Sdk disable modifier

Untested but should work void DisableModifiersByClassName(INode* node, const MSTR& className) { if (!node) return; auto object =…

9 years ago
Forum
Reply
RE: SDK Can't delete my plugin ??

It’s likely that the undo/redo system still holds a reference to your deleted object. How do you delete your plugin object, DeleteMe(), DeleteThis() e…

9 years ago
Forum
Topic
Forum
Replies: 0
Views: 11
Reply
RE: Render on top?

I’m not aware of any built-in or MaxScript only way to accomplish this. If using the SDK is an option, NodeDisplayCallback provides such functionality…

10 years ago
Forum
Reply
RE: Python: SetCurrentLayer broken?!?

You need to wrap the layer name into a MaxPlus.WStr object: import MaxPlus MaxPlus.LayerManager.CreateLayer(“foobar”) MaxPlus.LayerManager.SetCurrent…

10 years ago
Forum
Reply
RE: fetch array of node pointers sdk

IMHO in that case it’s better to use classes that support dynamic array sizes like INodeTab, MaxSDK::Array and stl vector (for internal plugin stuff) …

10 years ago
Forum
Reply
RE: Get texture absolute path?

Could you provide an example please? It should work with all strings. JasonB: And it converts relative paths to oddly formed absolute paths fo…

10 years ago
Forum
Reply
RE: Get texture absolute path?

($.material.diffusemap.filename as AssetUser).getFullFilePath() Have a look at AssetUser for more information

10 years ago
Forum
Reply
RE: [SDK] issues drawing polyline in viewport

I think the Z-Buffer flag has to be cleared like this: (rlim & (~GW_Z_BUFFER))

10 years ago
Forum
Topic
Forum
Replies: 0
Views: 13