JustinPedersen / maya_fspy

Simple UI to import fSpy files into Autodesk Maya
MIT License
38 stars 0 forks source link

import json to maya #5

Closed leety0809 closed 3 years ago

leety0809 commented 3 years ago

i have followed yr instructions however in the maya scene it only created a cam grp and default cam with no parameter data there are some messages form the expression editor that i don't understand thank you

Warning: Unrecognized node type 'decomposeMatrix'; preserving node information during this session.

Traceback (most recent call last):

File "C:/Users/user/Documents/maya/2018/scripts\maya_fspy\ui.py", line 113, in generate_camera

create_camera_and_plane(self.json_lineedit.text(), self.image_lineedit.text())

File "C:/Users/user/Documents/maya/2018/scripts\maya_fspy\core.py", line 41, in create_camera_and_plane

pm.connectAttr(matrix.output, decompose_matrix.inputMatrix)

File "C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\pymel\core\nodetypes.py", line 414, in getattr

raise AttributeError, "%r has no attribute or method named '%s'" % (self, attr)

AttributeError: nt.Unknown(u'cameraTransform_decomposeMatrix2') has no attribute or method named 'inputMatrix'

JustinPedersen96 commented 3 years ago

Hey there.

If possible please can you upload the .json and image file to dropbox or google drive and send me a link? Also what version of Maya are you currently using?

Thanks

JustinPedersen96 commented 3 years ago

Screenshot 2021-04-16 180159 Can you also check that this plugin is loaded in your Plugin Manager? I think this might actually be the cause of your issue @leety0809

JustinPedersen commented 3 years ago

Im going to close the issue for now, please re-open it if you are still getting the issue after the suggested fix :)