Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: viewport.setCamera – playback

C:\Program Files\Autodesk\3ds Max 2014 SDK\samples\maxscript\mxsagni\viewport.cpp Value* VP_SetCamera_cf(Value **arg_list, int count)

5 years ago
Forum
Reply
RE: viewport.setCamera – playback

ha… topic suggestion sometimes works well enough registerTimeCallback and animation playback 3ds Max SDK and MaxScript …

5 years ago
Forum
Reply
RE: Close every bracked in your script

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…

5 years ago
Forum
Reply
RE: Color + png file on button?

jen84: the click event doesn’t work. what about using label’s click event?

5 years ago
Forum
Reply
RE: Set messagebox position

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…

5 years ago
Forum
Reply
RE: Set messagebox position

fn ShowMB msg pos: title: = ( if pos == unsupplied then ( messageBox msg title:title ) else ( struct TMP ( pos, fn OnWindow = …

5 years ago
Forum
Reply
RE: Output Map Curve Access / Comparison

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…

5 years ago
Forum
Reply
RE: Output Map Curve Access / Comparison

modify this to fit your needs fn EnableColorMap texoutput state redraw:true = ( local g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance l…

5 years ago
Forum
Reply
RE: [SDK] pblock from HWND

and for those who prefer c# sdk ( g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance s = g.GetISpinner (dotNetObject “System.IntPtr” Spinner…

5 years ago
Forum
Reply
RE: How to clone objects faster

~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…

5 years ago
Forum
Reply
RE: How to realize Clone Rendered Frame Window?

try this for w in UIAccessor.GetPopupDialogs() do ( local is_vfb_window = ((UIAccessor.GetWindowResourceID w) == 0) and (filenameFromPath(UIAccessor…

5 years ago
Forum
Reply
RE: C# catapi

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

5 years ago
Forum
Reply
RE: How to store a new shape in a local

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

5 years ago
Forum
Reply
RE: How to store a new shape in a local

shp_name = uniqueName #tmpShapeName $.modifiers[1].createShape shp_name shp = getNodeByName shp_name shp.wirecolor = red

5 years ago
Forum
Reply
RE: Add Force to the Spring

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 …

5 years ago
Forum
Page 41 / 84