Post #3269: Hey guys,
📋 Metadata
- Author: actimelvanille
- Date: 2020-05-04 09:01:50
- Type:
question - Quality Score: 6/10
- Replies (1): post_03275
🏷️ Tags
intermediate scripting unsolved
⚙️ Related PME Features
- 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