Commands › General › Import M E P Tags From Json
Import M E P Tags From Json
Coming soon
Before you run this
Active view must be a plan, section, or 3D view. JSON file from ExportMEPTagsToJsonCommand must exist. Elements referenced in JSON should exist in current model.
After it runs
Tags are created at the exact positions specified in the JSON. Elements are tagged using the matching strategy.
When to use this
- User wants to restore tags after model changes.
- User needs to transfer tags between views.
- User wants to apply saved tag positions to updated model.
Don't use this when
Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
JsonFilePath |
config | string |
no | — | Path to the JSON file |
Returns
| Name | Type | Description |
|---|---|---|
TagsCreated | int | Number of tags successfully created |
TagsSkipped | int | Number of tags skipped (element not found) |
Result | string | Command execution result |
What you'll see in the chat
on start
Importing MEP tags from JSON...
Restoring tag positions from saved file...
Restoring tag positions from saved file...
thinking
Reading JSON file...
Matching elements to tag data...
Creating tags at saved positions...
Matching elements to tag data...
Creating tags at saved positions...
on success
Successfully created {TagCount} tags!
on failure
Couldn't import tags: {error}
REST API
Not yet exposed
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/import_meptags_from_json- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
import mep tags from json · import tags · restore tags · apply tags from json
Patterns: import * tags * json · restore * tags · * import tags · apply tags from *
Related
| Related commands | ExportMEPTagsToJsonCommand · TagAllCommand |
|---|---|
| Pillar | General |