Mambo4
@mambo4
New Member
Joined: Feb 14, 2024
Topics: 83 / Replies: 271
Reply
RE: How to reset state sets via maxscript?

That’s how I access it. I reduced the code to a one-liner (dotNetObject “Autodesk.Max.StateSets.Plugin”).Instance.ResetAndDelete()

9 years ago
Forum
Reply
RE: How can i format a string to remove certain Text?

I was confused by the results of manually adding controllers at first too. Max does not make it very clear that as you add controllers you are actuall…

9 years ago
Forum
Reply
RE: How can i format a string to remove certain Text?

well, not sure exactly what your are trying to do but $Sphere001_920.modifiers[#Face_Extrude].amount.controller.weight.controller looks awkward and…

9 years ago
Forum
Reply
RE: How can i format a string to remove certain Text?

There is no need to extract the name of MyArray[i] and then build a giant string to pass to execute() and in this case it is quite wasteful If MyArra…

9 years ago
Forum
Reply
RE: How can i format a string to remove certain Text?

I just read your post more closely When you do things like param wire objects (or assign modifiers or controllers etc) it is best to not use and just…

9 years ago
Forum
Reply
RE: How can i format a string to remove certain Text?

MyArray = selection as array for i = 1 to MyArray.count do ( k = MyArray[i] format “% ” k.name ) Most if not all nodes in Max …

9 years ago
Forum
Reply
RE: guide to deploying scripts

There is some discussion on organizing your max scripts this thread menuman is the command to lookup for building menu items. It’s a bit of a beast…

9 years ago
Forum
Reply
RE: Rotation of node is different to the rotation of its transform matrix?

<node>.rotation is in parent space <node>.transform.rotation is world space oops didn’t read closely enough. are you 100% certain your no…

9 years ago
Forum
Topic
Forum
Replies: 1
Views: 13
Reply
RE: Tips of working on a large MaxScript projects

lo: For inhouse tools I use a system similar to Javascript’s ‘Require’, which lazily loads .ms files, and caches the module in a central location. ……

9 years ago
Forum
Reply
RE: Tips of working on a large MaxScript projects

My solution is basically #2, although on the previous project I built an installer. Because of windows user account permission annoyances, and the pa…

9 years ago
Forum
Reply
RE: Tips of working on a large MaxScript projects

Interesting discussion. I suppose I’m guilty of abusing filein then. Once I discovered the proper use of struct based tools I began using my structs l…

9 years ago
Forum
Reply
RE: Get the absolute position of an object

i think node.transform.pos is read only try anotherPoint.pos = mypoint.transform.pos

9 years ago
Forum
Reply
RE: Tricky viepwort aspect ratio switching problem

I was a little simpler than that. What happens is that Max retains the field of view width by secretly adjusting the FOV when the ratio of renderHeig…

9 years ago
Forum
Reply
RE: Tricky viepwort aspect ratio switching problem

the purpose is to see how much of the game environment geometry is visible at different camera angles, and both aspect ratios. We are using safe fram…

9 years ago
Forum
Page 2 / 24