C:\Program Files\Autodesk\3ds Max 2014 SDK\samples\maxscript\mxsagni\viewport.cpp Value* VP_SetCamera_cf(Value **arg_list, int count)
ha… topic suggestion sometimes works well enough registerTimeCallback and animation playback 3ds Max SDK and MaxScript …
If you want to fold every bracket of a certain level then you’ll have to do it manually. Here’s the example to play with. It needs some fix for un-fol…
jen84: the click event doesn’t work. what about using label’s click event?
It isn’t the try catch block that make it work. In order to move messagebox you need to provide window handle of messagebox to windows.setwindowpos fu…
fn ShowMB msg pos: title: = ( if pos == unsupplied then ( messageBox msg title:title ) else ( struct TMP ( pos, fn OnWindow = …
I agree with Denis that c# is unreliable in general (at least for me). See if this code works in 2019. In 2014 it throws an error on attempt to access…
modify this to fit your needs fn EnableColorMap texoutput state redraw:true = ( local g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance l…
and for those who prefer c# sdk ( g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance s = g.GetISpinner (dotNetObject “System.IntPtr” Spinner…
~2.5 sec on my laptop with redraw off ( disableRefMsgs() k = Rectangle length:50 width:50 offset = [ 60, 0, 0 ] count = 10000 for i = 1 to co…
try this for w in UIAccessor.GetPopupDialogs() do ( local is_vfb_window = ((UIAccessor.GetWindowResourceID w) == 0) and (filenameFromPath(UIAccessor…
Available in 2020 c# Autodesk.Max.dll. I can’t check 18-19 versions, but 2017 sdk have no CatAPI at all. dnSpy_cxOxwayY5e.png484x534 30.7 KB
make sure to have a unique name for the target node, nameshape in your case or you end up picking wrong node if a node with such name already exists
shp_name = uniqueName #tmpShapeName $.modifiers[1].createShape shp_name shp = getNodeByName shp_name shp.wirecolor = red
Oh, indeed… works in 2014 but not in 2020. You can compile c# dll and try it that way. Sometimes it helps and sometimes not. I couldn’t make it work …