link_or_append
Import objects, collections, materials, and other data from another .blend file as editable copies or read-only linked references for asset reuse with independent edits or live updates.
Instructions
Bring objects, collections, materials and more in from another .blend file.
Append copies the data into this file so it can be edited. Link keeps a live reference: edits to the source file show up here, but the data is read-only. A linked collection is placed as an instance; appended objects and collections go into the scene. Scripts in the file are never run.
Args: filepath: Absolute path to an existing .blend file. data_type: OBJECT, COLLECTION, MATERIAL, NODE_GROUP, WORLD or MESH. names: Names to bring in (see list_blend_contents), at most 100. link: True to link instead of append.
Returns: Dict with each requested name and the name it has here (appends may gain a .001 suffix), plus any instance created for a linked collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| names | Yes | ||
| filepath | Yes | ||
| data_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||