lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: #callback code – Help

This is how I did it in the past: Find the location of Backburner.xml. This varies depending on version of 3dsmax and backburner. Add a #MainWindowE…

11 years ago
Forum
Reply
RE: #callback code – Help

There is no such callback. There are ways to get to something close, but they’re not pretty.

11 years ago
Forum
Reply
RE: Create .bat file

7z has a very good compression rate but keep in mind it’s much slower than other solutions.

11 years ago
Forum
Reply
RE: global custom attribute definition id already exists

probably first-chance exceptions which are already caught and handled in Gamebryo’s code. You can disable these in Visual Studio (disable ‘break on fi…

11 years ago
Forum
Reply
RE: [SDK] How to get Scene Name?

virtual MSTR& Interface::GetCurFileName ( ) [pure virtual] Remarks: Returns the name of the current MAX file (but not the path). For e…

11 years ago
Forum
Reply
RE: How to disable Vray Frame Buffer buttons?

Not unless Vray Frame Buffer chooses to expose this functionality to maxscript, which as far as I can tell, it does not.

11 years ago
Forum
Reply
RE: How to disable Vray Frame Buffer buttons?

Well, you’d need some callback to let you know when the Frame buffer is created, I am not sure which callbacks the Vray frame buffer invokes. Then you…

11 years ago
Forum
Reply
RE: How to disable Vray Frame Buffer buttons?

I’m pretty sure that’s not the VRay frame buffer.

11 years ago
Forum
Reply
RE: expanding file paths using .Net

Just to be clear though, you’re not instanciating anything. It’s a static class. At worse, you’re making maxscript resolve the namespace more than nec…

11 years ago
Forum
Reply
RE: rollout controls question

Some controls can, but not ‘button’. Use a dotnet button instead if you need this functionality.

11 years ago
Forum
Reply
RE: check for virtual memory drive

google ‘maxscript registry’ and find this link:

11 years ago
Forum
Reply
RE: check for virtual memory drive

See the values in the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

11 years ago
Forum
Reply
RE: objects vs geometry

I get better results when using the geometry collection, but even for 5000 objects it’s still a matter of 10ms vs 50ms, never more than a second.

11 years ago
Forum
Reply
RE: Directory.EnumerateFiles method

Sure, just compile it to an assembly on the fly just as with the previous example.

11 years ago
Forum
Reply
RE: Directory.EnumerateFiles method

As expected, a c# assembly is slightly faster: fn createAssembly = ( str=”using System; ” str+=”using System.IO; ” str+=”using System.Linq;…

11 years ago
Forum
Page 26 / 131