Re: [Maya-Python] same rig working in a computer and not in another

2021-12-01 Thread Simon Payne
Which version of Maya? Which service packs, any particular plugins or utilities in use and what are tge graphics cards in each machine? Simon Sent from my iPhone > On 1 Dec 2021, at 14:09, Rudi Hammad wrote: > >  > hello, > > this is the strangest thing I've seen. I delivered a rig to some

Re: [Maya-Python] Re: find the translate Attribute or position of Special objects in different frames

2020-07-22 Thread Simon Payne
Hi Roland, What is it exactly that you want to achieve? There are multiple answers to this. If you want to trigger something on pre-defined frames, you can just query the frame/time, either in script or an expression. If its a more constant dynamic effect/calculation, you can just use getAttr

Re: [Maya-Python] Re: Extend object animation from another object

2018-08-14 Thread Simon Payne
Sure. Use your parentconstraint. But bake off the keyframes : select>select key>bake animation. I recommend hilighting trans and rots in the channel box and using the ‘from channel box’ option. This will save the animation. Then delete the constraint. Shift the second object’s animation to

Re: [Maya-Python] Re: popupMenu command works in Python but not in Mel

2018-07-26 Thread Simon Payne
Yup, as Robert says. You can cast a python command though : -postMenuCommand = “python ‘myCommand()’” Simon Sent from my iPhone > On 26 Jul 2018, at 21:22, Robert White wrote: > > I believe the problem you're running into here, is that the popupMenu > -postMenuCommand expects the command to

Re: [Maya-Python] Re: maya.cmds vs pymel speed?

2017-11-19 Thread Simon Payne
Lol. Indeed. I look forward to the tenth anniversary of “mc v pymel speed?”  Should be commemorated in a few years time with a golden maya manual, a leaflet reminding everyone that Autodesk/which ever owner - did not invent pymel and a large slice of red princess cake with a big black ‘M’ on

Re: [Maya-Python] recover scripting work after a crash ?

2017-09-14 Thread Simon Payne
This is not entirely true. Your script editor remp files are stored in [usr]/docs/maya/maya-20xx/prefs/scrptEditorTemp/ The files can be openned in any text editor. Sometimes, because of multi sessions of maya at the same time or re-installs, the scripts you were working on can be found in

Re: [Maya-Python] Re: referencing workflow issue

2016-12-08 Thread Simon Payne
Name changes still apply the same logic. And I've generally always designed my auto updates to not be reliant on naming anyway. For example, you could add tags (string attrs) and define geo that way. You can add to selection sets and callb members. You can add a set of defined message attrs to

Re: [Maya-Python] Re: referencing workflow issue

2016-12-07 Thread Simon Payne
Yeah look, this is just not a sensible workflow. In all production environments we do not generally speaking, reference the model. For updates, you have three basic solutions... 1) manually importing the updated model and copy/import skins. The UV's are generally unimportant to the rig, but

[Maya-Python] Dynamic menus

2013-07-02 Thread Simon Payne
Hi guys, I have an assets/shots browser for my 3D pipeline. It traverses directories/database calls, by category etc. Obviously, as this is search criterea, it is self updating. So if someone releases a new asset/shot or a version of a model, rig, animation etc, it will come up in the UI no

Re: [Maya-Python] Dynamic menus

2013-07-02 Thread Simon Payne
, 2013, at 9:29 PM, Simon Payne wrote: Hi guys, I have an assets/shots browser for my 3D pipeline. It traverses directories/database calls, by category etc. Obviously, as this is search criterea, it is self updating. So if someone releases a new asset/shot or a version of a model, rig

Re: [Maya-Python] inheriting pymel.core.nodetypes.Transform class

2013-03-26 Thread Simon Payne
this helps. -jason On Tuesday, March 12, 2013 1:35:08 PM UTC-7, Count Zer0 wrote: On Tuesday, March 12, 2013 5:22:55 AM UTC-7, simon payne wrote: Does anyone know if it is possible to inherit the pymel Transform class ? myObj = pymel.core.nodetypes.Transform('pCube1

[Maya-Python] inheriting pymel.core.nodetypes.Transform class

2013-03-12 Thread simon payne
Does anyone know if it is possible to inherit the pymel Transform class ? myObj = pymel.core.nodetypes.Transform('pCube1') myObj.getTranslation() # Result: dt.Vector([0.0, 0.0, 0.0]) # sousing the class Transform is fine. but : class myNewClass(pymel.core.nodetypes.Transform):

Re: [Maya-Python] Job : Pipeline TD/Developer

2013-03-06 Thread Simon Payne
Hi Colas. Where would this job be based? Simon Payne On Wed, Mar 6, 2013 at 12:38 AM, Colas Fiszman colas.fisz...@gmail.comwrote: We are currently looking for some Mid-to-Senior level TD to work on the next animated feature's we will do. Requirements : - Advanced Maya experience

Re: [Maya-Python] graph editor

2012-12-07 Thread Simon Payne
Yo Todd, Good to hear from you. As it happens I am starting on a brand new graph editor with a few very new paradigms attached to it :-) Simon On Fri, Dec 7, 2012 at 9:53 AM, Todd Widup todd.wi...@gmail.com wrote: anyone ever built a gui with a graph editor in it? either old mel based,

[Maya-Python] finding the nearest curve

2012-05-14 Thread simon payne
I need to write something to find the nearest curve to specific cv's on another curve, within a given limited distance. So far, the only idea I have is to write a plugin to evaluate the nearestPoint on curve, for every single one of hundreds of curves, just to find out the nearest one to the

Re: [Maya-Python] finding the nearest curve

2012-05-14 Thread Simon Payne
curve then check it's distance, then keep the closest distance within your range. maya has a node already called nearestPointOnCurve. -Damon On Mon, May 14, 2012 at 6:56 AM, simon payne simon...@gmail.com wrote: I need to write something to find the nearest curve to specific cv's on another