Commands  ›   ›  Create Batch Mep Filters

Create Batch Mep Filters

writes to model Public API · not yet exposed

Coming soon

Before you run this

Writable document.

After it runs

New filters may be created; plan templates may gain filters and overrides.

Inputs

NameKindTypeRequiredDefaultDescription
serviceTypes config string no Optional comma-separated: drainage,mechanical,electrical,fire,plumbing

Returns

NameTypeDescription
filterCountintNumber of filter elements created or resolved in the batch

What you'll see in the chat

on start
Creating standard MEP filters for the project...
Batch-applying filters across plan templates...
Detecting service scope from parameters or default bundle...
thinking
Parse serviceTypes as comma-separated keys; trim and deduplicate case-insensitively.
If serviceTypes is empty, use the default five-discipline bundle and wire recoverable guidance.
Instantiate CreateMepFilterSet and call CreateMepFilterSet.ForProject.
Call CreateMepFilterSet.ApplyToAllTemplates so plan templates receive filters and overrides.
Run inside one manual transaction; commit after both steps.
Return filter count and service list for orchestration feedback.
on success
Batch MEP filters created and applied ({filterCount} filters).
on failure
Batch MEP filters failed: {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/create_batch_mep_filters
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

create mep filters · batch filters · project filters · standard filters

Related commandsAddFilterToTemplateCommand · CreateFilterCommand · CreateViewTemplateCommand
Pillar