NodeEventCallback with array
Hello everybody.
Faced the problem of reading the properties of objects under given conditions.
The problem is this: when you select one object and when no objects are selected, everything works fine. When I try to select an array of objects
there is trouble.
Can you tell me which way to think?
Thank you
The script itself:
rollout test "Test" width:162 height:300 ( checkbox 'btn_Visibility' "Visibility" pos:[21,107] width:72 height:22 align:#left ) fn CallbackProperties ev nodes = ( if $ == undefined do return false test.btn_Visibility.checked = ($.primaryVisibility == ON) ) callbackItem = NodeEventCallback selectionChanged:CallbackProperties createdialog Test <code>
Comments
Thanks for the answer. During
Thanks for the answer.
During that time, while waiting for the fasting post, I also found a possible solution to this problem.
Maybe someone will come in handy:
.
Try this:
Tools and Scripts for Autodesk 3dsMax