Dear Jeremy,
I hope this code may help you.
import maya.OpenMaya as om
import maya.OpenMayaUI as muiactiveView = 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.
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
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.
--