Piflik
@piflik
New Member
Joined: Feb 15, 2024
Topics: 2 / Replies: 79
Reply
RE: material editor help

Sorry…my bad… Corrected the scripts…

16 years ago
Forum
Reply
RE: material editor help

That would be the basic translation for Bobo’s advice. Still no support for Multi/Sub-Object Materials and the likes…but it should work fo selection s…

16 years ago
Forum
Reply
RE: material editor help

Am I understanding you right? You want a script that changes the Map Channel of the current selected object’s material to 2 and set it to be show in v…

16 years ago
Forum
Reply
RE: Rigging script

It’s really hard to tell without further information…(The error message or the code…preferably both)

16 years ago
Forum
Reply
RE: Selecting by self-illu in Multimaterials

That might work: I edited your code (bold) select (for o in geometry where o.material != undefined AND classof o.material != Multimaterial AND (o.ma…

16 years ago
Forum
Reply
RE: Get object by modifier

You can loop through all the objects and the modifiers and get the node(s): theObject = for o in objects where (for m in o.modifiers where m.type == …

16 years ago
Forum
Reply
RE: Loft

It works (nearly) like a charm…all I had to change was adding quotation marks in the value handed to the function to be able to use fractural numbers …

16 years ago
Forum
Reply
RE: Loft

Wow…that is one mean looking piece of code… :bowdown: I understand about…mhh…nothing. Except the last line. I think that is all I need to make it wor…

16 years ago
Forum
Topic
16 years ago
Forum
Replies: 12
Views: 27
Reply
RE: spacing tool – code

Since the spacing tool is part of Max itself and I am quite sure Autodesk doesn’t want it copied, you won’t find it in your installed files. Nor will …

16 years ago
Forum
Reply
RE: Formatting text for script controller

Yeah… for i in 1 to 3 do ( text = format “theArray[%]” i print text ) should print out theArray[1] theArray[2] theArray[3]

16 years ago
Forum
Reply
RE: Formatting text for script controller

You can use format and ‘%’ to place values in a string: theScript = format “%,%,%” i i i –(don’t know if you really need three ‘i’)

16 years ago
Forum
Reply
RE: How to achieve the effect like Path Constrain using MAXScript?

No, not a script…a ‘Script Controller’ Go to the Curve Editor or the Motion Pannel and assign a ‘Rotation Script’ to the Rotation of the object. In t…

16 years ago
Forum
Reply
RE: How to achieve the effect like Path Constrain using MAXScript?

That is just a random shot now, but I think you might be able to do that with a Rotation Script Controller, where you specify the Orientation Vector b…

16 years ago
Forum
Reply
RE: Script to select all objects with same name as current selection

If they have the exact same name that should work: on Button pressed do ( if selection.count == 1 do ( Name_Var = $.name for o in objects where o.nam…

16 years ago
Forum
Page 3 / 6