Notifications
Clear all

[Closed] how get command panel pos and size

how get command panel pos and size

2 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

The Command panel status is stored in the current .CUI file.
Figure out what is the current CUI file using the available MAXScript methods. (A hack would be to just grab the CUI file that has been modified last).

Then use getINIsetting onto the CUI file to read the [Command Panel] section, esp. the FRect and DRect values – these contain the floated and docked positions of the command panel.

Hope this helps.

thank you.
you know how realtime get mouse pos,where appointed pos do a command