State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:250906|
"""NAME: RenderOutputScriptICON: icon.pngDROP_TYPES: SCOPE:"""renderOutputDefine = NodegraphAPI.GetNode('RenderOutputDefine')renderOutputDefine.getParameter('args.renderSettings.outputs.outputName.locationType.value').setValue('file', 0)renderOutputDefine.getParameter('args.renderSettings.outputs.outputName.locationType.enable').setValue(1, 0)#Utils.EventModule.ProcessAllEvents()renderOutputDefine.checkDynamicParameters()renderOutputDefine.getParameter('args.renderSettings.outputs.outputName.locationSettings.renderLocation.value').setValue('test', 0)renderOutputDefine.getParameter('args.renderSettings.outputs.outputName.locationSettings.renderLocation.enable').setValue(1, 0)
2) A RenderOutputDefine node is created and locationType is set to file, but after this point the console will show an error message
File "<string>", line 7, in <module>renderOutputDefine.getParameter('args.renderSettings.outputs.outputName.locationSettings.renderLocation.value').setValue('test', 0)AttributeError: 'NoneType' object has no attribute 'setValue' We're sorry to hear that
Please tell us why