Import Model
tb.ops.model.import_(*, staged: str) -> Result
Add a parsed 3D file's hierarchy, meshes, curves, materials and textures to the scene. Skeleton, skin weights and clips are not imported into the Model editor.
Model Mode
tb.ops.model.mode(
*,
mode: Literal["model", "uv", "material", "clothing"] = ...,
clear_physics: bool = ...,
) -> Result
Switch the Model editor between its modes (Model, UV, Material, Clothing), or read the current one (leave out mode). Modes only change what the editor shows: every operation runs in any mode. Entering UV shows the UV editor pane, leaving UV hides it. Entering Clothing opens a garment around the selected meshes unless one is open; leaving it parks the garment until you come back.
Reimport Model
tb.ops.model.reimport(*, staged: str, nodes: Sequence[ObjectRef] = ...) -> Result
Replace the geometry of mesh objects with the meshes of a changed file, keeping each object's name, materials and texture sets; each object follows only the file's change of its placement since the last import (moves made here stay). A mesh in the file replaces the object with the same name; a file with one mesh replaces the one object asked for. Texture Paint then offers Keep Strokes, which moves the paint to the new surface. One undo step.