Hola, después de mucho buscar no encuentro solución a un problema. Estoy haciendo mi primer ejercicio de rigging, concretamente de unas cejas. En el rigging intervienen el wire parametters, Morpher y quería meterle al final Maxscript para hacerlo más fácil de animar todavía, pero tengo un problema: cuando asigno a algo el valor de un slider no hay problema, pero cuando intento volver a poner el slider en su posición inicial me sale un error, pongo aquí el código para que me digan que está fallando.
Código:
rollout cejas cejas width:335 height:281.
(T-ceja derecha- Tbutton reiniciar_d reiniciar pos:[22,30] width:135 height:27 - Este botón pondrá todos los valores a 0, menos altura, que la pondrá a 50 ton reiniciar_d pressed do t(t $controlador_ceja_d. Attribute_holder. Altura_ceja = 50 $controlador_ceja_d. Attribute_holder. Rotación_ceja = 0 $controlador_ceja_d. Attribute_holder. Curvatura_ceja = 0 $altura_d.value = 50 - Aquí me sale un error de que value no es una propiedad valida t) tslider altura_d altura pos:[21,71] width:137 height:44 orient:#horizontal range:[0,100,50] ton altura_d changed value do t(t $controlador_ceja_d. Attribute_holder. Altura_ceja = altura_d.value t) tslider rotacion_d rotación pos:[22,128] width:138 height:44 range:[-50,50,0] ton rotacion_d changed value do t(t $controlador_ceja_d. Attribute_holder. Rotación_ceja = rotacion_d.value t) tslider curvatura_d curvatura pos:[21,186] width:140 height:44 ton curvatura_d changed value do t(t $controlador_ceja_d. Attribute_holder. Curvatura_ceja = curvatura_d.value t) tgroupbox d ceja derecha pos:[12,11] width:153 height:230 t-ceja izquierda (aún sin escribir el script)- Tbutton reinicar_i reiniciar pos:[184,31] width:135 height:27 tslider altura_i altura pos:[183,72] width:137 height:44 orient:#horizontal tslider rotacion_i rotación pos:[184,129] width:138 height:44 range:[-50,50,0] tslider curvatura_i curvatura pos:[183,187] width:140 height:44 tgroupbox grp2 ceja izquierda pos:[172,11] width:153 height:230 tcheckbox simetría simetria pos:[13,253] width:105 height:20).
Createdialog cejas