magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: dotNet: textBox on return pressed event?

Here’s an example, hope it helps Cheers, Martijn

17 years ago
Forum
Reply
RE: addNewKey not working

Not sure what you mean here, could you elaborate on this? ACFred: What happens is that once I addNewKey and then rotate the control, the value…

17 years ago
Forum
Reply
RE: Clean unused layers in the layer palette script

Here’s an old script of mine which removes unwanted layers. I haven’t touched it in years so it can probably be optimized a lot, but I still use it oc…

17 years ago
Forum
Reply
RE: CgTalk Maxscript Challenge 021: "More Information?"

diffx: … Therefor, we’ve decided to keep it in-house for now and develop it further. LAME! Just kidding of course Martijn, keep up the good work…

17 years ago
Forum
Reply
RE: Maxscript initialization order frustrations

In your first example, to make function b visible to function a, you could declare the second function at the top of your script: ( [B]local b[/B] …

17 years ago
Forum
Reply
RE: Select vertices where they intersect with another mesh.

This might do the trick for you; Apply a Volume Select modifier to the first object, set the selection mode to “Vertices” and pick the second object a…

17 years ago
Forum
Reply
RE: How to use theHold?

Faith, The theHold structure manages max’s undo/redo system. Unless you really know what you’re doing you probably shouldn’t use this, and go with un…

17 years ago
Forum
Reply
RE: Open rollout in modifier panel?

Afaik, addRollout only works in conjunction with scripted utilities and rollout floaters. Have you tried using a subRollout control inside the scripte…

17 years ago
Forum
Reply
RE: Get rollouts in CA Def or Plugin?

No idea how to grab the rollouts from scripted plugins off the top of my head, but in case of custom attributes, you could try custAttributes.getPBloc…

17 years ago
Forum
Reply
RE: Number of lines of a file

Not sure if this is faster, but here’s an alternative method using .NET: ((dotNetClass “System.IO.File”).ReadAllLines “Thefile.txt”).count Cheers, M…

17 years ago
Forum
Reply
RE: dotNet tabControls align vertical?

Here’s how you can get the available “types” of any loaded assembly: a = dotNet.loadAssembly @”C:\TabControlEX.dll” dotNetObject:System.Reflection.As…

17 years ago
Forum
Reply
RE: Render to Texture Lightmaps using the Window Struct Methods

You could try sending the LBUTTONDOWN and WM_LBUTTONUP messages manually: local WM_LBUTTONDOWN = 0x201 local WM_LBUTTONUP = 0x202 … windows.sendMes…

17 years ago
Forum
Reply
RE: finding all elements of a polyObject

Here’s another approach using a bitArray, which is perfect for stuff like this: ( — Array to store elements local Elements = #() — Array conta…

17 years ago
Forum
Reply
RE: BackBurner Telnet Commands II

Apart from the “help” command in telnet, I’ve never been able to find any documentation on this. So it might be possible to edit dependencies, but wit…

17 years ago
Forum
Reply
RE: Can a DotNet timer use a struct function for the event handler?

Something along these lines should work though: ( struct struct_myStruct (fn heyWorld=print “hey world”) myStruct=struct_myStruct() theTimer = dotNe…

17 years ago
Forum
Page 8 / 37