It’s been a while since I’ve used patches, but from the looks of it there’s no way to get a patch’s vertices (in the correct order) in maxscript…
MAXScript always returns the result of an expression after hitting the numeric enter-key or when executing a script. When you create a local scope (p…
I think you’re getting the error because the objSet struct does not exist in the global scope. Declaring it as a global right before the definition sh…
I’m guessing you’ve used Visual Basic before, where this is how you have a function return a value. In maxscript it works a little different though. …
Correct, you can use snapShotAsMesh to get a node’s world state mesh (the resulting mesh is a copy). If, after using this method, you no longer need t…
You should be able to use the getPointPos method for this (max 2008 or higher), which works for both meshes as shapes. In the case of shapes it actual…
This also happens when you manually assign a uvw modifier to an object. It has been like this since Max 1 and possibly even before that. Adding 1/1000…
I obviously didn’t read your initial post properly so I missed the fact that you’re assigning a struct to variable ni and want to use that in your cal…
Instead of sr try using the object parameter ni. handler = when transform sr changes handleAt:#redrawViews [b]ni[/b] do ( local p0 = getKnotPoint [b…
Here’s the thread containing the above snippet:
You can get/set the default camera wirecolor using GetUIColor <index_integer> and SetUIColor <index_integer> <point3>: GetUIColor 3…
When using the addModifier command, any subobject selections will be discarded anyway. modPanel.addModToSelection keeps it. Martijn
Rotation_List is a class and the actual controller applied to the object is an instance of that class. To find out what class a controller belongs to,…
Of course it’s faster, but you can’t deny that using regex searches makes the code look a lot more sophisticated.
… or local objs = objects as array local objNames = for obj in objs collect obj.name local objCount = objs.count q = 3 for i = 1 to q do ( waveName…