TransWikia.com

Is there a way to save preferences for import/exporters?

Blender Asked by MrFlamey on November 27, 2021

I often use the .fbx export plugin in Blender, and every time I must disable the apply scale and enable selected only options. I realise that not everyone wants these settings enabled by default, but is there a way to save the settings so that I never have to do it again?

Note: I can probably edit the script to change the default, but I have a strong feeling that it can be done and saved with my user prefs somehow.

3 Answers

There's two places these files might be.

  1. In your Blender installation folder: C:<blender_install_path>2.93scriptspresetsoperatorexport_scene.fbx

  2. A separate user settings folder on Windows for Blender: C:Users<username>AppDataRoamingBlender FoundationBlender<version>scriptspresetsoperatorexport_scene.fbx

Answered by Kleptine on November 27, 2021

Yes, you can use operator presets. (Press the + icon to the right hand side of Operator Presets dropdown).

Answered by ideasman42 on November 27, 2021

This is not the answer I want, but I'm going to post it anyway because it may be helpful to some.

Here is the method to do it by editing the script for anyone else that wants to change options. Note that because I'm editing a default addon directly, it will need to be done every time a new version of Blender comes out, which is why I'd like to know if there is a way to do this with preferences.

Find the init.py file for the FBX import/export plugin: <Blender install directory><version>scriptsaddonsio_scene_fbx__init__.py

In the ExportFBX class there are a number of properties, which all have name and default parameters. The name parameter is the text shown in the Blender UI, so you should be able to find the property you'd like to edit by searching for this string. Change the default parameter to that of your choosing. For example, to answer my question, I would change the default parameter of the property with name "Selected Objects" to True, and that of "Apply Unit" to False.

Answered by MrFlamey on November 27, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP