Kameleon
@kameleon
New Member
Joined: Feb 14, 2024
Topics: 30 / Replies: 489
Reply
RE: Dotnet controls fighting for focus

Have you tried the ContainFocus event?

15 years ago
Forum
Reply
RE: Dotnet controls fighting for focus

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…

15 years ago
Forum
Reply
RE: Dotnet controls fighting for focus

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.

15 years ago
Forum
Reply
RE: Dotnet controls fighting for focus

Easily solved by changing the order on how the controls are created: try(destroydialog FocusTest)catch() rollout FocusTest “test” width:240 height:1…

15 years ago
Forum
Reply
RE: Scopes

Have you tried adding a ( and ) englobing all your script? I always do that.

15 years ago
Forum
Reply
15 years ago
Forum
Reply
RE: Physx properties

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.

15 years ago
Forum
Reply
RE: macroscript check button?

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…

15 years ago
Forum
Reply
RE: macroscript check button?

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…

15 years ago
Forum
Reply
RE: isValidNode selectionSets ?

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″…

15 years ago
Forum
Reply
RE: Unmaz not working….

Or you can just add a @ before the strings.

15 years ago
Forum
Reply
RE: select camera light code

Hide? Or delete them? Hide: ( hide lights hide cameras ) Delete: ( delete lights delete cameras )

15 years ago
Forum
Reply
RE: Unhide $ doLayer:False not working..?

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.

15 years ago
Forum
Reply
RE: Verify Property Exists

See if this helps: hasProperty obj “pos” From Maxscript help: The hasProperty() function allows you to test whether an object has a specified proper…

15 years ago
Forum
Reply
RE: Execute 2 buttons from a button in another rollout

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…

15 years ago
Forum
Page 17 / 35