Have you tried the ContainFocus event?
It’s a rollout thing, if you can use a Form great, I think your problems will be solved, if not you can add a panel to the dialog and create the contr…
Have you tried the BringToFront method in a windows form instead of a rollout? just to check if it works as expected in a form.
Easily solved by changing the order on how the controls are created: try(destroydialog FocusTest)catch() rollout FocusTest “test” width:240 height:1…
Have you tried adding a ( and ) englobing all your script? I always do that.
life = undefined
Try to look in the Max script folder for a .ms file that has physx in it’s name, maybe there’s some code there for doing that.
Ahhh, now I get it I actually had the same problem some time ago, I didn’t get it the first time because I ran your script without the macroscript pa…
I don’t quite understand what you’re looking for, the checkbutton is working just fine here, if you want a check, why not use a checkbox? Dunno…
It’s easy loran, if the selectionset returns undefined the it doesnt exist, if it returns an array of objects the it exists. if selectionSets[“Sel01″…
Or you can just add a @ before the strings.
Hide? Or delete them? Hide: ( hide lights hide cameras ) Delete: ( delete lights delete cameras )
Have you tried just “delete lights” ? Anyway, show the rollout so we can answer it better, maybe you’re doing something wrong in the rollout.
See if this helps: hasProperty obj “pos” From Maxscript help: The hasProperty() function allows you to test whether an object has a specified proper…
The problem is that you’re trying to call functions that are defined in the local scope of their rollouts. You have 3 options: Move the functions ou…