magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: openFile problems…?

Make sure you call close fstream when you’re done with reading or writing. Leaving the file open makes it inaccessible for other file operations. Che…

18 years ago
Forum
Reply
RE: How to addnewkey to a newly defined custom attribute??

Unlike #float, #integer etc. the #maxObject type does not per se contain an animatable value. For instance you could even assign the current renderer …

18 years ago
Forum
Reply
RE: How to addnewkey to a newly defined custom attribute??

Like Gravey said, you cannot apply a positionXYZ controller to these tracks. An alternative (which is also a compound controller containing 3 separate…

18 years ago
Forum
Reply
RE: Using pickObject effectively

Or you could use the pickObject function (in single object mode) in a while loop like this: ( local pick_array = #() fn testfilter o = ((findItem p…

18 years ago
Forum
Reply
RE: Autodesk 3dsmax 2008 Maxscript ProEditor

I don’t know, but I sure hope so!

18 years ago
Forum
Reply
RE: Autodesk 3dsmax 2008 Maxscript ProEditor

Yes it has code completion, even with custom function names. The “complete word” shortcut is probably something like ctrl-space but I guess that can b…

18 years ago
Forum
Reply
RE: Return number of parameters in parameter block

This should do it: print $.modifiers[$.modifiers.count].amyface.[b]numSubs[/b] Or, in case the attributes are added through the max interface (and t…

18 years ago
Forum
Reply
RE: is this possible with MaxScript

Does the script need to be able to upload files without a UI? If not, you could try the System.Windows.Forms.WebBrowser control and upload the file(s)…

18 years ago
Forum
Reply
RE: Delete Selected Objects that have no Faces

The for obj in Geometry loop (see bottom of this post) only iterates through geometric objects, so groups are automatically skipped. See the ObjectSet…

18 years ago
Forum
Reply
RE: Delete Selected Objects that have no Faces

The getPolygonCount function returns an array #(number of faces, number of vertices) for any geometric object (mesh/poly/editable spline/etc). I can’t…

18 years ago
Forum
Reply
RE: Scripted plugin accessing vertex selection

It might be possible but it certainly won’t be easy. You would need a modifier plugin (not a simplemod) and extend an Edit_Poly or Poly_Select. If I r…

18 years ago
Forum
Reply
RE: Collect and Move Maps to Folder

soulburn3d: …the Map Mask in the blur render effect brings up a dialog to choose any sort of map, not a file dialog for me to pick a bitmap. Or were…

18 years ago
Forum
Reply
RE: Collect and Move Maps to Folder

soulburn3d: displace modifiers – works sometimes (that’s pretty agrivating, sometimes it works, sometimes it doesn’t it seems) This could be beca…

18 years ago
Forum
Reply
RE: How to collect modifiers controllers into an array

I haven’t got max here to test this on, but the following should print out a list of controllers to the listener. Set the first line to the modifier o…

18 years ago
Forum
Reply
RE: moving in coordsys local in script controller

The only way I can think of is this: A = the object with the position script controller 1. create a point helper/dummy ([B]B[/B]) and align it to th…

18 years ago
Forum
Page 16 / 37