Commands  ›   ›  Select By System Type

Select By System Type

writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document and view must be available. Model must contain MEP elements with system assignments.

After it runs

Revit selection is replaced with matched element IDs. Returns JSON with systemType, scope, totalSearched, totalSelected, and breakdown.

When to use this

Don't use this when

Selecting by custom "Service Type" parameter (use SelectByServiceTypeCommand). Generic deep parameter search across all fields (use SelectByParameterCommand). Simple category selection (use SelectByCategoryCommand).

Inputs

NameKindTypeRequiredDefaultDescription
systemType config string no System type text to match
scope config string no "view" view (default) or model

Returns

NameTypeDescription
SelectionElementId[]Selected element IDs
SummaryJSONSelection summary with counts and breakdown

Decision flow

check: parameters.systemType → required, fail if empty
check: parameters.scope == "model" → search entire model
default: search current view only
iterate: each element → extract system classification text → contains match

What you'll see in the chat

on start
Selecting elements by MEP system type...
Searching for system type matches across elements...
Looking for elements in the specified system...
thinking
Building element collector...
Reading system classification parameters...
Checking connector and MEP system assignments...
Applying selection to model...
on success
Selected {totalSelected} elements with system type matching "{systemType}" from {scope}
on failure
System type selection 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/select_by_system_type
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

select by system type · system type selection · select system · select dhw · select supply air
Patterns: select * system type · select * by system · select * dhw · select * supply air

Related commandsSelectByServiceTypeCommand · SelectByParameterCommand · FilterSelectionCommand
Pillar