magicm
@magicm
New Member
Joined: Feb 14, 2024
Topics: 8 / Replies: 546
Reply
RE: .net question

Thanks for checking. I’m glad I won’t be needing that dll anymore Edit: And thanks for posting that link as well Richard, useful stuff! Cheers, Mar…

18 years ago
Forum
Reply
RE: .net question

So the ToBase64String method does work for you guys? Weird… here’s what I get: – Runtime error: dotNet runtime exception: Cannot widen from source t…

18 years ago
Forum
Reply
RE: .net question

I’ve tried the same and found that it simply doesn’t work. The ToBase64String method expects a byte array, which you cannot create using mxs. I wrote …

18 years ago
Forum
Reply
RE: Sub Object Level Names?

Afaik, the only possible way to get this information would be to find the handle of the modifier listbox and retrieve it’s items. However… this probab…

18 years ago
Forum
Reply
RE: Accessing Submaterials with Gradientramp

Other than using replaceInstances, I don’t think there’s a way to replace a flag’s texture. So all gradient maps and the textures applied to the flag …

18 years ago
Forum
Reply
RE: Accessing Submaterials with Gradientramp

On a side note, the following: magicm: replaceInstances meditMaterials[1].diffuseMap.Gradient_Ramp[4][6] (noise()) will replace all instanc…

18 years ago
Forum
Reply
RE: Accessing Submaterials with Gradientramp

Unfortunately, you cannot rely on anything the macro recorder spits out. It will work for simple commands, but that’s about it. The reason behind thi…

18 years ago
Forum
Reply
RE: Accessing Submaterials with Gradientramp

If you apply a noise texture to the middle flag of the gradient and execute the following in the Listener: show meditMaterials[1].diffusemap.gradient…

18 years ago
Forum
Reply
RE: Floating animation interface idea

To find a scene object by name, use getNodeByName. Check the manual for more info about this function. Martijn

18 years ago
Forum
Reply
RE: Floating animation interface idea

You can create a link between the spinner and controller by setting the spinner’s ‘controller’ property: spinner spn1 “” controller:$Dummy01.position…

18 years ago
Forum
Reply
RE: Rotating an object parallel to a spline segment.

Lookup both interpCurve3D and tangentCurve3D in the manual. The first one returns a position based on a path parameter, the second a direction vector….

18 years ago
Forum
Reply
RE: Colored Buttons

Or use a dotnet button (System.Windows.Forms.Button) and set its .BackColor property. Martijn

18 years ago
Forum
Reply
RE: Make nodes invisible in layer manager?

Afaik, there’s no way you can prevent nodes from showing up in the layer manager/select by name dialog/etc, at least not using maxscript. There’s thi…

18 years ago
Forum
Reply
RE: IsAnimationPlaying ?

In max 2008 (or if you have the AVG extension installed), you can use isAnimPlaying(). registerTimeCallback and unRegisterTimeCallback might also be w…

18 years ago
Forum
Reply
RE: — Unable to convert: undefined to type: Float

You can check if the uvsel array contains any vertices by querying its .count property: on alignMinU pressed do ( local uvsel = uv.getselectedvertic…

18 years ago
Forum
Page 11 / 37