Import favorites
import_favoritesImports favorites from a .prf file into an Archicad project, keeping folder structure and resolving name conflicts with append, overwrite, skip or error policies.
Instructions
Imports favorites from a .prf file exported by Archicad / export_favorites. Output: {imported: [new names], count, firstConflict?}. In Teamwork, reserve the 'Favorites' object set first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the .prf file ('~/' allowed) | |
| folder | No | Target folder in the Favorites palette (default: root) | |
| importFolders | No | Keep the folder structure stored in the file (default true) | |
| conflictPolicy | No | When a name already exists: Append (default: import under a new name), Overwrite, Skip, or Error (stop) |