lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Recursive branching

You need to change the code in line 47.

10 years ago
Forum
Reply
RE: Sending keystroke to application

It’s simpler to just activate the window HWND and use dotnet SendKeys class.

10 years ago
Forum
Reply
RE: Max Programmer

You can send me a private message.

10 years ago
Forum
Reply
RE: Changing values of referenced variable array

You could do it like this: fn changeArray &arr = ( *arr[1] = “foo” *arr[2] = “bar” ) a = “der” b = “dum” c = #(&a, &b) changeArray c…

10 years ago
Forum
Reply
RE: set pixels in VFB through 3dsmax SDK

It would be more efficient to load it up to a row buffer and call PutPixels once for each row.

10 years ago
Forum
Reply
RE: set pixels in VFB through 3dsmax SDK

If you are a renderer plugin, you just need to set the pixels of the bitmap you’re rendering to, and refresh the frame buffer whenever you want to upd…

10 years ago
Forum
Reply
RE: Dotnet > Encoding UTF8

max will convert the resulting System.Byte[] into a maxscript array of bytes, which will not have a .length property, but a .count property. Alternat…

10 years ago
Forum
Reply
RE: fn compile error

Your assumption is correct, it works because you define it globally. Nested functions have the limitation that they can not access the local scope of …

10 years ago
Forum
Reply
RE: fn compile error

Nested functions can not be recursive.

10 years ago
Forum
Reply
RE: Get the full path to a selected track/parameter

exprForMAXObject <MAXWrapper_object> [explicitNames: <boolean>] Returns a string containing a MAXScript expression that will ‘name’ the…

10 years ago
Forum
Reply
RE: getViewportDIB() Hide other windows?

I remember it was on windows 7 and max2014, that might be relevant.

10 years ago
Forum
Reply
RE: getViewportDIB() Hide other windows?

Has something to do with windows interface (aero, desktop composition, etc.). When something or other is on, Viewport.getViewportDIB() will capture t…

10 years ago
Forum
Reply
RE: Fast way to debug plugin with sdk

What is it loading symbols for? Your data or other stuff? Are you generating debug info at all?

10 years ago
Forum
Reply
RE: Fast way to debug plugin with sdk

For me ‘attach to process’ after 3dsmax has finished loading takes no more than 3-4 seconds, I’m not sure why it’s slow for you. What does it say it’s…

10 years ago
Forum
Reply
RE: format float output trailing f?

Alternatively, use the .Frame property of the time value. t = 15.5f t.Frame <– 15.5

10 years ago
Forum
Page 16 / 131