Select By Service Type
Coming soon
Active document and view must be available. Elements in scope must have service type parameters populated.
Selection is replaced with matching element IDs. Returns JSON with serviceType, scope, totalSearched, totalSelected, and breakdown.
When to use this
- Select all CHW (chilled water) services by Service Type parameter value.
- Select all DHW (domestic hot water) elements for tagging.
- Select all Lighting services before running a lighting calculation.
Generic deep parameter search across all fields (use SelectByParameterCommand). Searching by Revit MEP system classification (use SelectBySystemTypeCommand). Simple category selection (use SelectByCategoryCommand).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
serviceType |
config | string |
no | — | Service type text to match |
scope |
config | string |
no | "view" | view (default) or model |
Returns
| Name | Type | Description |
|---|---|---|
Selection | ElementId[] | Selected element IDs |
Summary | JSON | Selection summary with breakdown |
Decision flow
check: parameters.serviceType → required, fail if empty check: parameters.scope == "model" → search entire model default: search current view only iterate: each element → check "Service Type" / "System Type" params for contains match
What you'll see in the chat
Searching for service type matches in elements...
Looking for elements with matching service type...
Checking service type parameters on each element...
Filtering by parameter value match...
Applying selection to model...
REST API
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/select_by_service_type- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
select by service type · service type selection · select service · select by service · select mep service
Patterns: select * service type · select * by service type · select service *
Related
| Related commands | SelectBySystemTypeCommand · SelectByParameterCommand · FilterSelectionCommand |
|---|---|
| Pillar |