jonlauf
@jonlauf
New Member
Joined: Feb 15, 2024
Topics: 18 / Replies: 90
Reply
RE: Adjusting all maps?

you could actually do it with one line: for i in (getClassInstances mix) do (i.mixAmount = 50)

18 years ago
Forum
Reply
RE: Adjusting all maps?

This will change the mix amount in all mix maps to 50: mixArray = for i in (getClassInstances mix) collect i for i in mixArray do (i.mixAmount = 50)…

18 years ago
Forum
Reply
RE: Track Editor

This script will unlock any selected keys with a Bezier Float controller: bezierArray = #() join bezierArray (getClassInstances bezier_float) for i…

18 years ago
Forum
Reply
RE: Track Editor

The property you’re referring to is found on Bezier Controllers and can be set by changing the the key’s axis lock property to false. For example, if…

18 years ago
Forum
Reply
RE: surface constrain

There’s a great tutorial by Andy Murdock that describes how to do what you’re asking with a spider rig. The entire tutorial may be more complex then …

18 years ago
Forum
Reply
RE: surface constrain

Have you tried using a surface constraint and animating the U and V values?

18 years ago
Forum
Reply
RE: How to perform script when slider manipulator value changes?

This script creates a slider and 5 rectangles, hides the rectangles when the slider reaches 100.0 and unhides them when the value of the slider is &lt…

18 years ago
Forum
Reply
RE: time slider

The first number displays the current fps and updates every half second, the second number shows you the your average fps over the last two seconds. …

18 years ago
Forum
Reply
RE: Problem to filter a selection

It’s not deselect, it’s because the seletion array changes thru each iteration of the loop, it works if you collect the elements in a seperate array t…

18 years ago
Forum
Reply
RE: Problem to filter a selection

selectArray = for i in selection where superclassof i != light collect i select selectArray

18 years ago
Forum
Reply
RE: reverse array…

try these: array1 = #(“A”, “B”, “C”) array2 = #() array3 = #() –copying the array array2 = for idx in array1 collect idx –reversing the arra…

18 years ago
Forum
Reply
RE: display vertex colors

If you are just trying to show the vertex colors in the viewport you can use: setCVertMode <node> <boolean> You’ll have to force a viewp…

18 years ago
Forum
Reply
RE: Copy and paste morph keys

Hey Vikram, you should be able to just copy the controllers. Try this code, just replace $Sphere01 and $Box01 with the object that has the morph data…

18 years ago
Forum
Reply
RE: make a rollout expend . like the modify panel .

Sorry just realized my code posted funny, Here it is again: rollout testA “test A” ( button buttonA “button A” ) rollout testB “test B” ( b…

18 years ago
Forum
Reply
RE: make a rollout expend . like the modify panel .

Is this what you are after? rollout testA “test A” ( button buttonA “button A” ) rollout testB “test B” ( button buttonB “button B” ) t…

18 years ago
Forum
Page 6 / 8