Click and drag marquee with script or API?


#1

I’m looking to do some automation work and wondering if there is a way to have Maya click and drag as if a user is doing it, so it creates a marquee. There are other tools I could use to do this but I’d like to do it with built in API calls if possible.


#2

Take a look at MPxSelectionContext related classes/functions

P.S: your book is great:)


#3

thanks and thanks!