On Thu, Jan 29, 2009 at 09:47, barakooda <[email protected]> wrote:
>
> Or how i`m select, while i can define the area of the selection with
> two point just like i click with the mouse in maya.
>
> something like "Select all object in selection square
> (pointA,pointB).

Use MGlobal::selectFromScreen.

That requires that the two points be in screen coordinates. If you
have 3D worldspace coords use M3dView::active3dView() to get the
currently active view and then call its worldToView() method to
convert those to screen coords.

-- 
-deane

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to