[Maya-Python] Drop indicator and drag pixpam not work after reimplement dragMoveEvent and dragEnterEvent.

2013-01-11 Thread Paul Winex
Hi. Plest help me in this problem. In treeWidget I reimplement startDrag, dragMove and dragEnter. Result: drag indicator and dragPixmap disappeared. Drag from another widget or internal drag - does not matter. How to reimplement the procedure correctly to make drop indicator and drag pixmap

[Maya-Python] Re: Drop indicator and drag pixpam not work after reimplement dragMoveEvent and dragEnterEvent.

2013-01-11 Thread Paul Winex
This problem i have in my plugin http://vimeo.com/56110331 -- You received this message because you are subscribed to the Google Groups Python Programming for Autodesk Maya group. To post to this group, send email to python_inside_maya@googlegroups.com. To unsubscribe from this group, send

Re: [Maya-Python] getUV and getUVAtPoint returning wierd results.

2013-01-15 Thread Paul Winex
Use API: import maya.OpenMaya as om selection = om.MSelectionList() om.MGlobal.getActiveSelectionList( selection ) iter = om.MItSelectionList( selection, om.MFn.kMesh ) dagPath = om.MDagPath() if iter: while not iter.isDone(): iter.getDagPath( dagPath ) meshFn =

[Maya-Python] Re: how to drag and drop an icon from pyqt4 gui to maya shelf ?

2013-03-14 Thread Paul Winex
I tried to do it many times in many ways. Maya ignores my drag. If you have a working code, please show it! What data should be placed in qdrag? -- You received this message because you are subscribed to the Google Groups Python Programming for Autodesk Maya group. To unsubscribe from this

[Maya-Python] Re: how to drag and drop an icon from pyqt4 gui to maya shelf ?

2013-03-15 Thread Paul Winex
I have created a custom htpershade. I need to assign materials with dnd to viewport and textures to the AE. -- 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,

[Maya-Python] Re: copy mesh by points

2013-04-24 Thread Paul Winex
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал: I have one meshData and pointsArray. I need copy mesh from meshData by points in pointsArray and have reult meshData with all copied polygons. Need fast solution. http://somesanctus.blogspot.ru soudce code included -- You

[Maya-Python] Re: copy mesh by points

2013-04-24 Thread Paul Winex
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал: I have one meshData and pointsArray. I need copy mesh from meshData by points in pointsArray and have reult meshData with all copied polygons. Need fast solution. Я забыл, ты не любишь читать исходники чужие:) -- You received

[Maya-Python] Re: copy mesh by points

2013-04-24 Thread Paul Winex
среда, 24 апреля 2013 г., 3:17:49 UTC+4 пользователь vux написал: I have one meshData and pointsArray. I need copy mesh from meshData by points in pointsArray and have reult meshData with all copied polygons. Need fast solution. Конечно можешь пересилить себя и попросить исходники, но можно

[Maya-Python] Re: Attach a Maya popupMenu to a QPushButton

2013-06-01 Thread Paul Winex
This is not a solution but maybe help http://www.djx.com.au/blog/2008/03/13/user-marking-menu-hot-keys/ from PyQt4.QtCore import * from PyQt4.QtGui import * from sip import wrapinstance import maya.OpenMayaUI as omui import maya.mel as mel import maya.cmds as cmds qMayaWindow =

Re: [Maya-Python] MayaPy Cython Import Error

2020-02-01 Thread Paul Winex
I have solution! 1. You need to build cython locally. Install correct VS Libraries. For example Maya2018 require VS v14. You need to install Individual component and select some C++ build tools v14 and Windows SDK. 2. Install cpython for maya without binary, pip must build it on you local

Re: [Maya-Python] MayaPy Cython Import Error

2020-02-03 Thread Paul Winex
Oh, i forgot one thing. You need to copy source files form *MayaXXX\include\python2.7* to *Maya\Python\include* суббота, 1 февраля 2020 г., 23:57:24 UTC+3 пользователь Paul Winex написал: > > I have solution! > > 1. You need to build cython locally. Install correct

Re: [Maya-Python] MayaPy Cython Import Error

2020-02-04 Thread Paul Winex
r LIB, you'd do `set > INCLUDE=%INCLUD%;path_to_maya\include\python2.7` > > > On Monday, February 3, 2020 at 3:47:17 AM UTC-6, Paul Winex wrote: >> >> Oh, i forgot one thing. >> You need to copy source files form *MayaXXX\include\python2.7* to >> *Maya\Pyth

Re: [Maya-Python] MayaPy Cython Import Error

2020-02-01 Thread Paul Winex
Hi! Has anyone been able to compile with cython successfully? I use Win10, Maya 2019-2020, same problem( пятница, 18 мая 2018 г., 4:37:13 UTC+3 пользователь Lokesh Kumar написал: > > Hi Ruchit, > > Even after following all the steps which you have mentioned above, i am > still getting the same