Hello,
I’m new to scripting but I’ve been learning these past few days
please advise with writing a small add-on for importing exporting FBX, possibly OBJ by hotkey. I have some code error with this:
bl_info = {
"name": "FBX Quick",
}
class FBX_Quick(bpy.types.Panel):
bl_label = "FBX QUICK"
bl_idname = "OBJECT_PT_FBX"
import bpy
bpy.ops.import_scene.fbx(filepath="d:\TMP\FBX.fbx")
def register():
bpy.utils.register_class(FBX_Quick)
def unregister():
bpy.utils.unregister_class(FBX_Quick)
if __name__ == "__main__":
register()
thansk a lot!