for i in selection where i.modifiers[#Hair_and_Fur]!=undefined do ( i.modifiers[#Hair_and_Fur].MaterialSpecular = 30 ) — you can replace selecti…
Great Thread! Great Posts! hereās mine: fn work =(while not awesome or eof(budget) do keepRefining()) for i in monday to friday do ( endTime = 5 …
Any news on this? Iām stuck with the same problemā¦ thanks
As a workaround, you could declare and assign a global variable (or read it from an INI file) in a script and put it in your scripts/startup folder. I…
Iām not an expert using dotNet neither, but Iāve used some controls in my scripts though. Thereās a lot of dotNet gurus in this forum, maybe one of th…
I guess dotNet is the answer: on <control_name> LostFocus <System.EventArgs>e do ( … )
for i in selection do i.material = meditmaterials[(random 1 3)]
try this: at time t $Point01.rotation.controller.y_rotation = val1 Rotation controllers are a little fuzzy to understand, at least for me. It seem…
why youāre using a custom attribute for this? I mean, you already have the āsimulateā button in the interface for the cloth modifierā¦
on button pressed do ( theObject.modifiers[#cloth].simulate true — starts simulation with the simulation dialog ) thatās assuming that theObject is…
try putting the mesh variable in a custom attribute on a global track node, something like: myCustomAttribute = attributes theAttribute attribID:#…
for CADef in (custAttributes.getSceneDefs ()) do ( theCA = (custAttributes.getDefInstances CADef) for theInstance in theCA do ( theObj = c…
fn xReplace st = — replaces “\” by “/” on a given string ( n=”” for i = 1 to st.count do n+=if st[i]==”\\” then “/” else st[i] n ) if (ss = o…
sweet! where do you get this info from?
ok, Iāve found a workaround: seems that m keeps the old value after the replaceinstances() function, even if the material passed has changed but the a…