ResetDynamicName

The ACTION ResetDynamicName selects the Dynamic setting and uses the variable's default Dynamic name or default Name (when there is no default dynamic name). As a consequence, the Name property becomes read-only and the read-write DynamicName property allows further text edits to DynamicName.

Applies to variables that support a dynamic name.

Syntax

ObjectsMatcher | ResetDynamicName

Example

The following example demonstrates the use of ResetDynamicName, DynamicName, Name, and the keywords Default and None.

Intially, an exporter object with a Name called 'Sample analysis' and with a clear Dynamic setting, applies the ResetDynamicName Action.

The object returns a DynamicName of 'Sample analysis [Cells] (1)'.

Using 'Sample analysis [Cells] (1)' display the DynamicName Property. Note the braces (curly brackets) around a supported Property used in the dynamic name.

Clear the Dynamic setting with the keyword None. The Console returns the object as 'Sample analysis [Cells] (1)'. Note the absence of the braces.

Assign a new Name as 'Exporter for integration'.

Assign a new Name as the default name for the variable. The Console return is 'Sample analysis'.

> Sample analysis | ResetDynamicName
Sample analysis [Cells] (1)
> Sample analysis [Cells] (1) | DynamicName
Sample analysis [Cells] (1) | Sample analysis [{AnalysisDomain}]
> Sample analysis [Cells] (1) | DynamicName =| None
Sample analysis [Cells] (1)
> Sample analysis [Cells] (1) | name =| Exporter for integration
Exporter for integration
> Exporter for integration | Name =| default
Sample analysis
>

See also

About the command interface
Using the command interface
Using the console