Here’s an example, hope it helps Cheers, Martijn
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…
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…
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…
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] …
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…
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…
Afaik, addRollout only works in conjunction with scripted utilities and rollout floaters. Have you tried using a subRollout control inside the scripte…
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…
Not sure if this is faster, but here’s an alternative method using .NET: ((dotNetClass “System.IO.File”).ReadAllLines “Thefile.txt”).count Cheers, M…
Here’s how you can get the available “types” of any loaded assembly: a = dotNet.loadAssembly @”C:\TabControlEX.dll” dotNetObject:System.Reflection.As…
You could try sending the LBUTTONDOWN and WM_LBUTTONUP messages manually: local WM_LBUTTONDOWN = 0x201 local WM_LBUTTONUP = 0x202 … windows.sendMes…
Here’s another approach using a bitArray, which is perfect for stuff like this: ( — Array to store elements local Elements = #() — Array conta…
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…
Something along these lines should work though: ( struct struct_myStruct (fn heyWorld=print “hey world”) myStruct=struct_myStruct() theTimer = dotNe…