Reputation: 1
I am looking for a way to convert this MEL line mel.eval('cameraMakeNode 2 "";')
into Python.
I can't find anything in the documentation, is used to convert a camera to camera aim.
Upvotes: 0
Views: 1699
Reputation: 21
Perhaps I'm missing something, but doesn't this work?:
import maya.mel
maya.mel.eval("cameraMakeNode 2 '';")
Upvotes: 0
Reputation: 408
I hope this finds you well. Here is the code that worked for me:
import pymel.core as pm
pm.mel.cameraMakeNode(3, "")
Upvotes: 0