Created
April 3, 2017 01:47
-
-
Save AndresMWeber/d85c9bb84b6f4a07f093376321899556 to your computer and use it in GitHub Desktop.
Return imported top nodes from maya.cmds import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.cmds as mc | |
file = "D:/dev/procedural_rigging/assets/komodo/model/komodo_model.mb" | |
new_nodes = mc.file(file, i=True, returnNewNodes=True) | |
print cmds.ls(new_nodes, assemblies=True)[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment