Apply Linked View Settings To Templates
Coming soon
Active document must be open with at least one view template. Current view should have a view template assigned. At least one RevitLinkInstance should exist in the model.
All view templates in the document have the same linked model display settings as the source template from the current view.
When to use this
- User has set up linked model visibility in one template and wants to match all others.
- User wants consistent linked model display across all views.
- User needs to propagate architectural link settings to all MEP templates.
Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).
Modifies all view templates in the document. Changes RevitLinkInstance visibility/graphics settings in templates.
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
SourceView |
selection | View |
yes | — | Source view with template to copy from "Active view is used as source" |
ApplyToAllTemplates |
config | bool |
no | true | Whether to apply to all templates or same type only |
Returns
| Name | Type | Description |
|---|---|---|
TemplatesUpdated | int | Number of templates updated |
LinksProcessed | int | Number of linked models processed |
Decision flow
check: document.isOpen → continue check: activeView.hasTemplate → continue, else → error action: getSourceTemplate → from activeView.ViewTemplateId action: getLinkedInstances → collect RevitLinkInstances action: getSourceSettings → GetLinkOverrides for each link action: getAllTemplates → ListTemplates.GetAll action: applyToAllTemplates → SetLinkOverrides for each template resolve: success → showSuccess with count
REST API
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/apply_linked_view_settings_to_templates- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
linked model settings · template link settings · copy link display · apply template settings · revit link visibility
Patterns: apply * link * settings * templates · copy * template * link · match * linked * display · sync * link * templates
Related
| Related commands | CreateViewsCommand · SetTemplateCommand |
|---|---|
| Pillar | Combined |