You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to publish a MatchMove product from a Maya Scene that has a single camera. It fails at the Extract Camera (Maya Scene) step in the publish.
Here is my scene:
This is the relevant output:
File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\maya_0.2.14\ayon_maya\plugins\publish\extract_camera_mayaScene.py", line 269, in transfer_image_planes
image_planes = cmds.listConnections(image_plane_plug,
ValueError: No object matches name: |pCube1|pCubeShape1.imagePlane
After investigating, it seems that it boils down to this line:
Is there an existing issue for this?
Current Behavior:
We are trying to publish a MatchMove product from a Maya Scene that has a single camera. It fails at the
Extract Camera (Maya Scene)
step in the publish.Here is my scene:
This is the relevant output:
After investigating, it seems that it boils down to this line:
ayon-maya/client/ayon_maya/plugins/publish/extract_camera_mayaScene.py
Line 146 in 265d1d8
It tries to get the cameras by filtering objects from the ones you selected. In my case it's a camera and a geo.
If I test this code:
So it tried to filter out the cameras (with
type="camera"
incmds.ls
) but it didn't work because it tries to get the.imagePlane
object on a geo.I found that using
cmds.ls(members, dag=True, type="camera")
works and prints{'cameraShape1'}
Expected Behavior:
It should filter the cameras out of the objects in the publish set.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Are there any labels you wish to add?
Relevant log output:
No response
Additional context:
No response
The text was updated successfully, but these errors were encountered: