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
miauu · 2018-10-03