focomoso
@focomoso
New Member
Joined: Feb 14, 2024
Topics: 7 / Replies: 137
Reply
RE: How to get max file name?

You seem not to like to do the work for yourself (not just here, but in other posts as well). You clearly do not understand what Bobo and rarnett said…

15 years ago
Forum
Reply
RE: How to create a new layer and add selected obj to the lay?

Which is why he suggested you look at the layerManager in the help: LayerManager.current : Interface : Read Returns a LayerProperties MixinInterface …

15 years ago
Forum
Reply
RE: How to create a new layer and add selected obj to the lay?

Did you try running the code? He did everything for you right there. “selection” is a built-in objectSet in max. It contains all the selected objects….

15 years ago
Forum
Reply
RE: Animating Linked Objects

To clarify, you link object “hand” to object “arm”. You animate the arm and then unlink the hand and want the keys from the arm to be applied to the h…

15 years ago
Forum
Reply
RE: Packaging/defining functions in a Struct?

I think you misunderstood me. I was agreeing with you. It’s a legit case and a reason why you might have to declare your functions first.

15 years ago
Forum
Reply
RE: Packaging/defining functions in a Struct?

Exactly: conditional circular dependency.

15 years ago
Forum
Reply
RE: Packaging/defining functions in a Struct?

Just to clarify, fooMe is not overridden in the traditional oop sense. It is simply redefined. Overriding requires inheritance and both definitions of…

15 years ago
Forum
Reply
RE: Smallest volume box to fit a shape?

I’m swamped right now. If no one comes up with an answer by tomorrow, I should be able to take a look at it then…

15 years ago
Forum
Reply
RE: Smallest volume box to fit a shape?

ok, Malkalypse, do we know anything about the orientation of the shapes going in? You say they are part of a vertebrae. Can we assume that the top and…

15 years ago
Forum
Reply
RE: Smallest volume box to fit a shape?

I’m not sure convex hulls will work here as they assume an arbitrary number of vertexes. You could calculate the convex hull and then optimize it to 4…

15 years ago
Forum
Reply
RE: Smallest volume box to fit a shape?

I don’t have max on this laptop to test, but I looked at your code and it looks as if you’re calculating the optimal rectangle whereas he needs the op…

15 years ago
Forum
Reply
RE: Smallest volume box to fit a shape?

This is not a trivial algorithm. Have you tried searching online? The maxScript part will be simple, but the underlying geometry won’t be easy. I’m n…

15 years ago
Forum
Reply
RE: How do I change diffuse colour of a poly using maxscript?

Almost. While you can use the t loop to pick objects, the convention is to use t to represent time. And you don’t need to step through every frame to…

15 years ago
Forum
Reply
RE: How do I change diffuse colour of a poly using maxscript?

I hate to do a rtfm, but some of this is pretty basic stuff you should familiarize yourself with before you start. From looking at the code you have…

15 years ago
Forum
Reply
RE: How do I change diffuse colour of a poly using maxscript?

Do you have a flash (or director) background, or something similar? “I need to put a script on various frames” sounds like you’re thinking in terms of…

15 years ago
Forum
Page 2 / 10