Running the python code as OTL (geometry operator type with python)
Its getting this error -->
Here is the code..
# This code is called when instances of this SOP cook.
node = hou.pwd()
geo = node.geometry()
# create a temporary ROP node
fbx_rop = hou.node('/obj/pyro_import1/OUT').createNode('filmboxfbx')
# set the output path to whereever you want the file to go
fbx_rop.parm('sopoutput').set("$TEMP/out.fbx")
# Path to object hierarchy you want to export
obj_path = hou.node('/obj/pyro_import1/OUT').path()
fbx_rop.parm('startnode').set(obj_path)
# Now just run the "render" method on the node, and delete the ROP
fbx_rop.render()
fbx_rop.destroy()