Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MAYA) Can't attach abc files with locators #28

Open
m-mitchell opened this issue Apr 27, 2015 · 0 comments
Open

(MAYA) Can't attach abc files with locators #28

m-mitchell opened this issue Apr 27, 2015 · 0 comments

Comments

@m-mitchell
Copy link

On the Maya 2015 plugin, if you export an abc file with a locator in it, then try to attach the abc file into a model with the same locator, the script will error out:

# Error: file: E:/Sites/pypeline/maya/trunk/win/modules/Maya2015ExocortexAlembic/scripts/attach.mel line 34: No object matches name: |group1|locator1|locatorShape1.translate
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "E:\Sites\pypeline\maya\trunk\win\modules\Maya2015ExocortexAlembic\scripts\ExocortexAlembic\_attach.py", line 20, in attachXform
#     conX = cmds.listConnections(name+".translate")

I think this is because the locator shape is being exported as though it were a transform, and the code to attach transforms assumes the object you're attaching into is a transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant