- Fri Jan 14, 2022 9:39 am
#401232
Hi,
I have a simple code to get the render channel path, it works fine with pymaxwell4 but got error with pymaxwell, anyone can help?
renderPath = scene.getPath('RENDER')
TypeError: in method 'Cmaxwell_getPath', argument 2 of type 'mx::RenderChannels'
from pymaxwell5 import *
filepath = "C:/Users/wong.mingfae/Desktop/model.mxs"
scene = Cmaxwell(mwcallback_cb)
scene.readMXS(filepath)
renderPath = scene.getPath('RENDER')
print(renderPath)
I have a simple code to get the render channel path, it works fine with pymaxwell4 but got error with pymaxwell, anyone can help?
renderPath = scene.getPath('RENDER')
TypeError: in method 'Cmaxwell_getPath', argument 2 of type 'mx::RenderChannels'
from pymaxwell5 import *
filepath = "C:/Users/wong.mingfae/Desktop/model.mxs"
scene = Cmaxwell(mwcallback_cb)
scene.readMXS(filepath)
renderPath = scene.getPath('RENDER')
print(renderPath)