WillyWonka
- 9 public contributions
- Member since
- Latest contribution Nov 2012
How to create a class in MaxScript
Forum topic
I put together a small code snip-it that I figured someone here might like. I've always had a hard time finding a simple example on how to load a "class" from an external max script so I made one of my own. Hopefully someone else here will…
1 commentCalling .Net functions
Forum topic
I'm trying to write a script that does a SHA1 check on a file and I understand the .Net calls that I need to call but for the life of me I can't get it working in maxscript. Can anyone help me finish it? The first problem is the file…
2 commentsBounding box of selected verts in Edit Mesh
Forum topic
Is there any easy way to read the .max and .min points of a selection made in Edit Mesh? I haven't been able to find any and my attempts at looping through the verts and recording the smallest and largest have been buggy.
2 commentsMeasuring and adjusting splines?
Forum topic
Does anyone know of any existing script or the math to adjust the size of a circular-like spline to have a user specified circumference? I want the user to type a length in and then adjust the size of the spline so it adjusts to that…
2 commentsResizing the IE activeX control?
Forum topic
Does anyone know how to resize the activex control so that it fills up a max script dialog box? When I call showProperties it lists ".Width : integer" and in my code I'mtrying to call axHTML.Width = 500 but it refuses to resize the damn…
0 commentsFormatting numbers?
Forum topic
How do I format numbers so I get 0.00 instead of -5.51557e-007. I can't seem to find a command for it and what I don't want to do is multiply by 1000 and then chop off the decimal and divide by 1000 again.
0 commentsMove a helper?
Forum topic
How do I move a helper from its current location to geometry.max? There doesn't seem to be a .pos or a .rotation for it. I'm trying to get it to update every time the geometry on the scene updates... when geometry geometry changes…
1 commentHow do you create a custom helper?
Forum topic
I want to create a custom helper object which is a point with a direction. Can anyone help guide me along the proper path? What I have right now is a helper tool which creates a cone on mouse click but as soon as you move the mouse, it…
0 commentsCollecting textures?
Forum topic
I'm trying to write a script which collects the texturemaps in use and adjusts the filenames so that they're in 8.3 format, but I'm having a hard time with it. The filenames path in the bitmap texture can be incorrect and max then uses the…
0 comments