On Sunday, July 15, 2012 at 10:21:51 PM UTC-7, ammu0608 wrote: > Dear Jeremy, > > I hope this code may help you. > > > import maya.OpenMaya as om > > import maya.OpenMayaUI as mui > > activeView = mui.M3dView.active3dView() > > om.MGlobal.selectFromScreen(0,0,activeView.portWidth(),activeView.portHeight(),om.MGlobal.kReplaceList) > > > it selects all the objects in the active view. > > > Thank and Regards, > > Sudeepth Patinjarayil. > > On Jul 16, 2012 10:05 AM, "Jeremy YeoKhoo" <[email protected]> wrote:
That actually helps me very much. Thank you Sudeepth! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/fe5934f4-f555-45b7-b874-6adda396003b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
