Blender Asked by Milun on November 7, 2020
I’m wondering if there’s a way to programmatically open Blender (2.79)’s FBX exporter UI with Python script.
Basically, what I’m trying to make is a script which, when ran:
I know there’s a way to export FBX in script using bpy.ops.export_scene.fbx
, but I was wondering if it was possible to open the UI’s FBX exporter instead.
Thank you so much in advance!
Use bpy.ops.export_scene.fbx('INVOKE_DEFAULT')
.
More info about "Execution Contexts": https://docs.blender.org/api/2.79/bpy.ops.html?highlight=invoke#execution-context
I'm not sure what the best way to run something after the operator is complete is though. Maybe try: Running code after a modal operator finished its job
Answered by scurest on November 7, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP