Commands  ›  General  ›  Import M E P Tags From Json

Import M E P Tags From 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. 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

Don't use this when

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

Inputs

NameKindTypeRequiredDefaultDescription
JsonFilePath config string no Path to the JSON file

Returns

NameTypeDescription
TagsCreatedintNumber of tags successfully created
TagsSkippedintNumber of tags skipped (element not found)
ResultstringCommand execution result

What you'll see in the chat

on start
Importing MEP tags from JSON...
Restoring tag positions from saved file...
thinking
Reading JSON file...
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 commandsExportMEPTagsToJsonCommand · TagAllCommand
PillarGeneral