Fast Ref / API Reference / Query

get_fbx_default_options()

Download Markdown

Returns the current FBX default preset options as a dict.

Signature

api.get_fbx_default_options() -> dict

Return Value

{
    "preset_name": str,
    "options": {
        "Animation": bool,
        "Skin": bool,
        "Shape": bool,
        "BakeAnimation": bool,
        "SmoothingGroups": bool,
        "EmbedTextures": bool,
        "ASCII": bool,
        "UpAxis": str,
        "ConvertUnit": str,
        "FileVersion": str,
        "ShowWarnings": bool,
        "RemoveNameSpace": bool,
        "ResetRoot": bool,
        "ResetRootMode": str,
        "ResetRootName": str,
        "ResetAxisX": float,
        "ResetAxisY": float,
        "ResetAxisZ": float,
        ...
    }
}

Example

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
defaults = api.get_fbx_default_options()
print(f"Default preset: {defaults['preset_name']}")
for key, val in defaults['options'].items():
    print(f"  {key}: {val}")

💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support