Visual Maxscript and Attibute Editor
Hi all.
I have a problem beacause I'm not a pro in scripting and I need to create a little windows dialog in the Visual MAXScript. In this windows I have a slider and I must to connect this slider with an attribute holder wich control a dummy by a wire parameter. I'm not sure if I'm very clear ^^
So I made a little script but there is a problem and I don't know how to do.
If somebody can help me it will be really fantastic! :)
Thanks!
Here is my wonderfull script:
.
.
.
.
rollout unnamedRollout "Untitled" width:162 height:300
(
slider sld1 "Slider" pos:[8,8] width:141 height:44
on sld1 changed val do
$Circle005.modifiers[#Attribute_Holder].Custom_Attributes.Pied_Milieu = val
)
createdialog unnamedRollout
Comments
script
Then use this script.
NOTE:As you see i have linked rollout slider with CA slider in
both way.
bga
edit (second solution with example)
Ok.First, you need to execute this code for the scene creations.
bga
Sorry for my poor english
Sorry for my poor english ^^
So, to simplify my request, I made a new scene with a sphere and a circle.
http://postimage.org/image/qejet8rpj/full/
The circle (Arc001) have an attribute holder. The spinner "Param1" control the sphere on Z Rotation.
How to connect the attribute "Param1" to "Slider"?
I hope it's more simple and clear ^^
Cordially,
Klemt
If you already make wire
If you already make wire connection then this will help you
bga
You are not clear.Post a
You are not clear.Post a screenshot, to see whats do you need connect whit what
bga