Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to place a window instead of having it pop up screen center?

How to place a window instead of having it pop up screen center?

mcw0
Advisor Advisor
388 Views
2 Replies
Message 1 of 3

How to place a window instead of having it pop up screen center?

mcw0
Advisor
Advisor

I'm not finding any mel commands that will allow me to create a window at a specific location on the screen.  Anyone have any ideas?

Accepted solutions (1)
389 Views
2 Replies
Replies (2)
Message 2 of 3

Kahylan
Advisor
Advisor
Accepted solution

Hi!

 

The "window" command has the falgs -topEdge (-te, screen position Y of the top Edge of the window), -leftEdge (-le, screen position X of the left corner of the window) or -topLeftCorner(-tlc, screen position X and Y of the top left corner of the window) that can be used for this. All these flags are available in Creation, Edit and Query mode, so they can also be used to move already existing windows or get their position.

 

I hope it helps!

 

0 Likes
Message 3 of 3

mcw0
Advisor
Advisor
Thanks Kahylan. I just scanned over those flags. LOL! But I ended up parenting the children of that window to another window that I already have opened. Much simpler solution.