mpfb_get_status
Check if MPFB is loaded and usable in Blender and how it is configured. Call it first when other MPFB tools fail unexpectedly.
Instructions
Report whether MPFB is loaded and usable in the connected Blender, and how it is configured. Takes no arguments, changes nothing.
Call this first when any other MPFB tool fails unexpectedly: those tools fail with a bare error when MPFB is missing or broken, and this one tells the two apart.
result always carries:
state: "absent" (MPFB not loaded), "not_initialized" (loaded, but registration did not complete - installed and broken, or half-registered) or "ok". All three are normal answers, not errors.message: one sentence naming the state and the likely next step, suitable for showing to a user verbatim.candidate_modules: every loaded module name ending in "mpfb". Normally one; two or more means MPFB is installed twice, which explains erratic behavior from the other MPFB tools.package,enabled,blender.version.
With state "not_initialized" or "ok" it also carries version and
build_info. With state "ok" it additionally carries
is_source_dist, addon_installation_path, paths (each entry a
path plus a configured flag), asset_roots, asset_packs,
rigify_available, and blender.platform /
blender.meets_mpfb_minimum / blender.mpfb_minimum_version.
Parts of the result (paths.second_root and anything derived from it)
are scene-scoped and change when a different .blend is loaded. Re-call
rather than cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||