did you assign a controller to that parameter? try $.modifiers[1].Amyface.CNT_Teapot01_1_Position_XYZ.controller = position_xyz() addnewkey $.modifie…
Check out this version, it has frame accuracy. Note that the smaller the value, the more accurate the match will be, but at the cost of more time to c…
Hi, Try this code. you’ll need to edit the 2 lines defining the camera objects by their names. This script works by comparing distances, so make sure…
( local arraymain = #(“x”,”x”,”x”,”y”,”z”,”y”,”x”) local arraysub = #(“a”,”b”,”c”,”d”,”e”,”f”,”g”) local uniqueIndexes = #() for i in arraymain wher…
Try this: arraymain = #(“x”,”x”,”x”,”y”,”z”,”y”,”x”) arraysub = #(“a”,”b”,”c”,”d”,”e”,”f”,”g”) index = “x” for i = 1 to arraymain.count where array…
Try this one. It would probably need some foolproofing before it’s completely usable, but that should get you started: try(destroyDialog ro_SortMul…
Do you want the use to enter a new material name or to select a material by name?
Hi, Here’s a small function that will sort a multi-sub material by the sub-materials’ names: ( fn sortMatByName m = ( — Create a struct to ho…
bobo has some information here: and in the MXS help there are a couple of topics about that: Converting scripts from using activex controls to dotne…
Hi, I’ve also had this problem, and I’ve finally came up with the follwing solution. It’s not perfect, but works well enough for my purposes. What I’…
Hi, you need to set the right property on the UI element. The properties change with the elemeny type (for checkbox it’s .checked, for spinner it’s ….
use the object’s isHidden property. it returns true if the object is hidden and false if it’s visible. you can also set the property to show/hide the …
try this (from the MXS help): rotate <node> <angle> <axis_point3> [color=green]– mapped – angle in degrees [/color]hOpe this help…
Hi Paul, Are the filter functions declared as globals? This code works on my side. When used without the explicit global decleration, I get an error …