Commands  ›  General  ›  Export M E P Tags To Json

Export M E P Tags To Json

General writes to model Public API · not yet exposed

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

Don't use this when

Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).

Returns

NameTypeDescription
ExportedFilePathstringPath to the exported JSON file
TagCountintNumber of tags exported
ResultstringCommand execution result

What you'll see in the chat

on start
Exporting MEP tags from current view...
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...
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 commandsImportMEPTagsFromJsonCommand · TagAllCommand
PillarGeneral