magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: Anyone going to Siggraph?

Unfortunately I won’t be there this year. I’ve just started freelancing so I don’t have a boss anymore for me to pay for the trip ;). Hopefully next y…

17 years ago
Forum
Reply
RE: How to clone nested group in maxscript?

Check out the “maxOps” topic in the online reference. There’s a function called “maxOps.CloneNodes” which allows you to clone an entire hierarchy of o…

17 years ago
Forum
Reply
RE: Get file extension from bitmap loaded (beginners help)

If you really need to be sure that you get the correct bitmap type, no matter what the extension says, you could use: [b]getBitmapInfo[/b] {<filen…

17 years ago
Forum
Reply
RE: Reorder vertex numbers in an Editable Poly?

Something along these lines should work: ( — Create a new Editable Poly local NewEpoly = Editable_Mesh name:($.name + “_Copy”) convertTo NewEpoly…

17 years ago
Forum
Reply
RE: strange error using some sweep parameters

Another trick to get around this problem is to use the classOf function on the object, which causes the object’s stack to refresh: ( theMod = sweep(…

17 years ago
Forum
Reply
RE: Mouse input window

You can create a graphics object yourself by invoking the .CreateGraphics method of a control: local g = MyControl.CreateGraphics() g.FillRectangle b…

17 years ago
Forum
Reply
RE: Flushing memory between renders

This might release a bit of memory: freeSceneBitmaps(); gc() And if you don’t want to lose your undo history, use: freeSceneBitmaps(); gc light:tru…

17 years ago
Forum
Reply
RE: dotNetControl and .visible/.enabled

If I remember correctly, it only works when you don’t set these properties in the control constructor. Instead you set the initial state in the on ope…

18 years ago
Forum
Reply
RE: Automatic material type conversion

Like I said, my script doesn’t do any intelligent conversion, it’s just a crude attempt at transferring properties from one material type to the other…

18 years ago
Forum
Reply
RE: Automatic material type conversion

When you execute the following line in the Listener, you should get a list of all the available material classes you have. So the ones you want to cha…

18 years ago
Forum
Reply
RE: Automatic material type conversion

I don’t have max2009 design so I can’t test it with these new materials, but something like this might work: ( — Replace ‘Architectural’ with which…

18 years ago
Forum
Reply
RE: md5 hashing in Maxscript

I haven’t used it yet, but dotNet has a class “System.Security.Cryptography.MD5CryptoServiceProvider” that might help. More info and a VB example can …

18 years ago
Forum
Reply
RE: spline between 2 points

You forgot to attach the file However, I created a file myself and added some coordinates and the script ran without errors. So I suspect there’s an …

18 years ago
Forum
Reply
RE: spline between 2 points

Could you send me the data file you’re using so I can see what’s going wrong? You can send it to info[at]martijnvanherk[dot]com. Martijn

18 years ago
Forum
Reply
RE: spline between 2 points

I haven’t tested it but this should work: ( fn drawLineBetweenTwoPoints pointA pointB = ( ss = SplineShape pos:pointA addNewSpline ss addKnot…

18 years ago
Forum
Page 9 / 37