8
$\begingroup$

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.

$\endgroup$
9
$\begingroup$

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

|improve this answer|||||
$\endgroup$
  • 1
    $\begingroup$ I've just realised, that since Blender updated and I lost my modified export script I need to use this preset answer to asve the exporter presets. However, the problem is that they are NOT applied by default and I have to actually select my preset. This is leaving me with the same problem as before. Is there a way to save a DEFAULT preset? $\endgroup$ – MrFlamey Nov 5 '15 at 6:32
  • $\begingroup$ When you open a new version of Blender, it gives the option to copy old settings, This will copy your presets over too. $\endgroup$ – ideasman42 Nov 6 '15 at 4:08
  • $\begingroup$ How do I make my operator preset the default option, so that I don't need to re-select it every time I close and re-open Blender? $\endgroup$ – Aaron Franke Jan 7 at 7:10
2
$\begingroup$

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>\scripts\addons\io_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.

|improve this answer|||||
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.