cmdx icon indicating copy to clipboard operation
cmdx copied to clipboard

Fast and persistent subset of maya.cmds

Results 18 cmdx issues
Sort by recently updated
recently updated
newest added

Steps to reproduce: 1. Create cube primitive. 2. run `import cmdx import maya.cmds as cmds print cmdx.listRelatives("pCube1") print cmds.listRelatives("pCube1")` cmds.listRelatives returns [u'pCubeShape1'] while cmdx.listRelatives("pCube1") returns None Example from the command...

bug
help wanted

I've started working on making type stubs for cmdx. I ended up going the stubs way as I used a few features that wouldn't work in python 2 without the...

Ive been using cmdx on and off for a few months now and I've been very happy with it! My only (mild) pain point with it is the lack of...

Hey! I am trying to align the transform of one node to another, but have got to a point where I can't see a way forward. Here is my function:...

tips & tricks

Zero out translate/rotate channels by adding an intermediate parent group to hold those values. This can be preferable to `offsetParentMatrix` since that's only supported by Maya 2020+. **Usage** Select one...

tips & tricks

Whenever you keyframe a constrained channel, it'll create a pairBlend. If you then subsequently attempt to.. ```py node["translateX"] = {1: 0.0, 5: 10.0, 7: 11.0} ``` Then that new animation...

bug

Using cmds.listRelatives as example, are there plans to allow direct passing of cmdx.Node objects, without explicitly converting them? At the moment this is possible using `cmds.listRelatives( str( myNode ) )`...

enhancement

Apologies for the perhaps noobish question, but I keep getting hard crashes (Maya shows a "fatal error" dialog, then the crash reporter, then exits), which I'm 90% sure come from...

tips & tricks

Namely.. ```py cmds.addAttr("nodeA", ln="proxyTranslateX", proxy="nodeB.translateX") ``` The only question is, what should it look like? ```py nodeA["proxyTranslate", cmdx.Proxy] = nodeB["translateX"] ``` Also taking into account that we also need undo,...

enhancement

If I create an attribute with a default value, but don't change it, the value is lost after saving & reloading the scene. I don't know if it's by design...