Commands  ›  General  ›  Remove View Template

Remove View Template

General writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. Target view must not itself be a template.

After it runs

The view's ViewTemplateId is set to InvalidElementId. The view reverts to manual graphic overrides.

When to use this

Don't use this when

Deleting view templates from the project (use Purge or delete directly). Applying a different template (use ApplyViewTemplateCommand instead).

Inputs

NameKindTypeRequiredDefaultDescription
viewId config integer no Optional target view id (defaults to active view)

Returns

NameTypeDescription
ResultJSONRemove template result

What you'll see in the chat

on start
Removing the view template from the target view...
Detaching template assignment...
thinking
Resolving target view...
Removing template assignment...
on success
Template removed from view {viewId}.
on failure
Could not remove template: {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/remove_view_template
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

remove view template · unapply template · detach template · clear view template

PillarGeneral