Commands › › Configure View Template
Configure View Template
Coming soon
Before you run this
Active document; templateName resolves to a view template.
After it runs
Requested template parameters are applied for each supplied optional argument.
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
templateName |
config | string |
no | — | Existing view template name |
scale |
config | int |
no | — | Optional scale denominator (1:scale) |
detailLevel |
config | string |
no | — | Optional: Coarse, Medium, Fine |
displayStyle |
config | string |
no | — | Optional: HLR, HiddenLine, Shading, Wireframe |
Returns
| Name | Type | Description |
|---|---|---|
templateId | int | Template element id |
What you'll see in the chat
on start
Updating view template settings...
Applying scale, detail, and display to the template...
Validating template name and optional display tokens...
Applying scale, detail, and display to the template...
Validating template name and optional display tokens...
thinking
Resolve templateName via ListTemplates.GetByName and confirm IsTemplate.
Require at least one of scale, detailLevel, or displayStyle; otherwise stop with guidance.
Parse detailLevel with Enum.TryParse; recover and skip unknown tokens.
Normalize displayStyle synonyms (HLR/HiddenLine, Shading, Wireframe).
Call ConfigureTemplate.SetScale, SetDetailLevel, and/or SetModelDisplay inside a transaction.
Commit after updates; individual setters may no-op with recoverable wiring inside the helper.
Require at least one of scale, detailLevel, or displayStyle; otherwise stop with guidance.
Parse detailLevel with Enum.TryParse; recover and skip unknown tokens.
Normalize displayStyle synonyms (HLR/HiddenLine, Shading, Wireframe).
Call ConfigureTemplate.SetScale, SetDetailLevel, and/or SetModelDisplay inside a transaction.
Commit after updates; individual setters may no-op with recoverable wiring inside the helper.
on success
Template '{templateName}' updated (scale/detail/display as provided).
on failure
Configure template 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/configure_view_template- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
configure template · set template scale · template settings
Related
| Related commands | CreateViewTemplateCommand · AddFilterToTemplateCommand |
|---|---|
| Pillar |