AngryBear
@angrybear
New Member
Joined: Feb 15, 2024
Topics: 74 / Replies: 226
Reply
RE: Make Viewport snapshot

No sorry, it has to be in a c++ plugin with function publishing to use in maxscript

10 years ago
Forum
Reply
RE: Make Viewport snapshot

Haha, this all works now. my bad I set the index viewPanelIndex = 1; and Not 0 void BasicTools::Image(){ int viewPanelIndex = 0; int index = 3; …

10 years ago
Forum
Reply
RE: Make Viewport snapshot

No error but big crash void BasicTools::Image(){ int viewPanelIndex = 1; int index = 1; IViewPanel* pPanel = GetViewPanelManager()->GetViewPan…

10 years ago
Forum
Reply
RE: Make Viewport snapshot

So I guess the question I would have now is how would I get… ViewExp *vpt and then Release it. ip7->GetActiveViewExp(); is close but does not give…

10 years ago
Forum
Reply
RE: Make Viewport snapshot

Ok really dumb question what is this “mxs function” is this for function publishing? I remember putting a function in your [useful mxs function] thre…

10 years ago
Forum
Reply
RE: Make Viewport snapshot

I’m after the same but SDK. I almost have it sorted from the example but getActiveViewport() is not use in the interface class? It is grayed out? L…

10 years ago
Forum
Reply
RE: C++ Modifiers Turn on/off

I just had it! But you got there first void DisableModFromNode(INode* node){ if (! node)return; Object *obj = node->GetObjectRef(); IDe…

10 years ago
Forum
Reply
RE: C++ Modifiers Turn on/off

I have found how to delete all modifiers but not your turn off and on here is delete all mods, it should get you closer to what you need void Dele…

10 years ago
Forum
Reply
RE: C++ Modifiers Turn on/off

from void ScanModsFromNode(INode* node){ if (! node)return; Object *obj = node->GetObjectRef(); IDerivedObject *D_obj = NULL; Modifie…

10 years ago
Forum
Topic
Forum
Replies: 0
Views: 32
Reply
RE: Scripts and macros running on startup

if you have 2 scripts that need to run on startup but one needs to run first. You should be able to add to the one that runs second in your startup s…

10 years ago
Forum
Reply
RE: ISpinnerControl and CC_SPINNER_CHANGE

I use that too to spit stuff to the script listener just to see if it hits the function. ExecuteMAXScriptScript(_T(““hello c++””), 0, 0); ExecuteMA…

10 years ago
Forum
Reply
10 years ago
Forum
Reply
RE: gc() and sysInfo.MAXPriority in C++

so, fun if you strip all the extra you don’t need and you just pass it and int of 64,32,128 to change it works fine. I have checked the task manager …

10 years ago
Forum
Reply
RE: gc() and sysInfo.MAXPriority in C++

You two really now your SKD samples!!! Thanks Value* getMAXPriority() { def_process_priority_types(); int processID = GetCurrentProcessId(); HAN…

10 years ago
Forum
Page 13 / 20