← Blender.Today
  • 2
  • Published 24 Sep 2019

Appending Files Using Python

I am Not Able To Append File I added This Code - import bpy import os bpy.ops.wm.append(filepath = "D:\2.8\nFire Shader Advanced.blend\Material\domain", directory = "D:\2.8\Fire Shader Advanced.blend\Material", filename = domain, files=[{"name":"domain"}] relative_path=True) Can Any One Tell What Is The Error why python console is showing this error - SyntaxError: invalid syntax

location: <unknown location>:-1

location: <unknown location>:-1 Error: File "D:\2.8\test script.blend\Text", line 3 bpy.ops.wm.append(filepath = "D:\2.8\Fire Shader Advanced.blend\Material\domain", directory = "D:\2.8\Fire Shader Advanced.blend\Material", filename = domain, filename="domain", files=[{"name":"domain"}] relative_path=True) ^ SyntaxError: invalid syntax

location: <unknown location>:-1

Error: Python script failed, check the message in the system console

choudharyrakesh1298
24 Sep 2019