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 example demonstrates the use of ResetDynamicName, DynamicName, Name, and the keywords Default and None.

Intially, an exporter object with a Name called 'Sv integreation [Regions]' and with a clear Dynamic setting, applies the ResetDynamicName Action.

Then object returns a DynamicName of 'Sv integration [{AnalysisDomain}]' - note the braces around a supported Property used in the dynamic name.

Clear the Dynamic setting with the keyword None. The Console returns the the object as 'Sv integration [Regions]' - 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 'Sv integration'.

> SvIntegration[Regions] | ResetDynamicName
Sv integration [Regions]
> SvIntegration[Regions] | DynamicName
Sv integration [Regions] | Sv integration [{AnalysisDomain}]
> SvIntegration[Regions] | DynamicName =| None
Sv integration [Regions]
> SvIntegration[Regions] | Name =| Exporter for integration
Exporter for integration
> Exporter for integration | Name =| Default
Sv integration
>

See also

About the command interface
Using the command interface
Using the console