Post #1934: sc

πŸ“‹ Metadata

🏷️ Tags

pie-menu hotkeys intermediate solved

  • Pie Menu Editor
  • Python Scripting
  • Custom Commands

πŸ’¬ Content

scedric:

I added the export fbx command to my pie menu and I was wondering if there is a β€œsimple” way in PME to add a custom command to get the active object name as default name for my fbx file.

Hi, try something like this in Command tab:

bpy.ops.export_scene.fbx(filepath=C.object.name)

πŸ”— View on Blender Artists