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 integreation [Regions]' and with a clear Dynamic setting, applies the ResetDynamicName Action.
The object returns a DynamicName of 'Sample integration [{AnalysisDomain}]' - 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 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 'Sample integration'.
> SampleIntegration[Regions] | ResetDynamicName Sample integration [Regions] > SampleIntegration[Regions] | DynamicName Sample integration [Regions] | Sample integration [{AnalysisDomain}] > SampleIntegration[Regions] | DynamicName =| None Sample integration [Regions] > SampleIntegration[Regions] | name =| Exporter for integration Exporter for integration > Exporter for integration | Name =| Default Sample integration >
See also
About the command interface
Using the command interface
Using the console