Post #3269: Hey guys,

📋 Metadata

🏷️ Tags

intermediate scripting unsolved

  • Python Scripting
  • Macro Editor

💬 Content

Hey guys,

I’m using this script to export the selected object as .fbx to my folder:

exec(bpy.ops.export_scene.fbx(filepath=r”C:\Users\Christian\fbxEXCHANGE.fbx”, use_selection=True, global_scale=0.01, object_types={‘MESH’}, mesh_smooth_type=‘FACE’))

Is it possible to somehow get the name of the selected object and use it for export?
So that an object called “Cube” gets exported as Cube.fbx?

Cheers Chris


🔗 View on Blender Artists