Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: Function for getting the Hwnd of a viewport

Hey Paul, It’s not a killer but I would use this instead of using exit: for wHwnd in windows.getChildrenHWND #max [b]while returnHwnd == undefined[/…

15 years ago
Forum
Reply
RE: "Slice a Scene Horizontally"

Hi, You can use the Slice Modifier. Light

15 years ago
Forum
Reply
RE: dotNet Form on top of Max only?

Actually it’s added in Max 2008. Cheers, Light

15 years ago
Forum
Reply
RE: dotNet Form on top of Max only?

I like your determination (: Mine works on MaxForm too in Max 2010. Thanks, Light

15 years ago
Forum
Reply
RE: dotNet Form on top of Max only?

I think you could also do the same like so: local MainForm = DotNetObject “MaxCustomControls.MaxForm” local p = DotNetObject “System.IntPtr” ( Window…

15 years ago
Forum
Reply
RE: How can I call a button with a variable ?

Hi, If you want to loop through all the controls and filter them by type, use the Controls property on the rollout: for control in rollout.Controls …

15 years ago
Forum
Reply
RE: Random arrays …

Hi, Using an array to do this is fine. #( box, sphere, cone, … ) [ randomIndex ] They are just references to the actual types. Light

15 years ago
Forum
Reply
RE: Maxscript dynamic UI

What about .NET Forms? You can add controls, events, etc at runtime. But mxs version has its limitations too. Light

15 years ago
Forum
Reply
RE: SDK Video Tutorials (for Max.NET)

Try this one, and scroll down for the tutorials. Light

16 years ago
Forum
Reply
RE: SDK Video Tutorials (for Max.NET)

Cheers man. Not actively. I have bigger fish to fry now (: Light

16 years ago
Forum
Reply
RE: SDK Video Tutorials (for Max.NET)

Hey Marsel, Very cool stuff. I submitted the videos to the people already interested here. This deserves top recognition (: Cheers, Light

16 years ago
Forum
Reply
RE: Maxscript vs SDK speed test

Yes, sending massive collections from Max into C# is VERY slow. One tool we wrote here using C# and Maxscript, is instantaneous on the C# side but tak…

16 years ago
Forum
Reply
RE: Maxscript vs SDK speed test

The resultant dll can be anywhere but preferably inside a folder under Max. I put them into <maxroot>/stdplugs/managed. So you only have to dis…

16 years ago
Forum
Reply
RE: Maxscript vs SDK speed test

Not a hockey fan actually. So Oilers kinda freak me out (: I have written this code for you: using System; using System.Collections.Generic; usi…

16 years ago
Forum
Reply
RE: Maxscript vs SDK speed test

As long as the for loop logic is included in C# (like Patrick did for C++), C# would hands down outperform both. Even considering the cold startup ove…

16 years ago
Forum
Page 5 / 26