Commands › General › Export M E P Tags To Json
Export M E P Tags To Json
Coming soon
Before you run this
Active view must be a plan, section, or 3D view with MEP tags.
After it runs
A JSON file is created containing all MEP tag data. File can be used with ImportMEPTagsFromJsonCommand.
When to use this
- User wants to backup tag positions before model changes.
- User needs to transfer tags between views or models.
- User wants to document tag positions for analysis.
Don't use this when
Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).
Returns
| Name | Type | Description |
|---|---|---|
ExportedFilePath | string | Path to the exported JSON file |
TagCount | int | Number of tags exported |
Result | string | Command execution result |
What you'll see in the chat
on start
Exporting MEP tags from current view...
Saving tag positions and content to JSON...
Saving tag positions and content to JSON...
thinking
Finding all tags in current view...
Extracting tag positions and content...
Building JSON export structure...
Writing to file...
Extracting tag positions and content...
Building JSON export structure...
Writing to file...
on success
Successfully exported {TagCount} tags!
on failure
Couldn't export 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/export_meptags_to_json- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
export mep tags to json · export tags · save tags · tag positions json
Patterns: export * tags * json · save * tags · * export tags
Related
| Related commands | ImportMEPTagsFromJsonCommand · TagAllCommand |
|---|---|
| Pillar | General |