Name (general description)
Syntax
<Path>.Name:string |
The attribute Name sets the name of the object designated by <Path>. The name has to be unique within the Name Space of the Frame. Be aware that immediately after the name change, the object is only going to respond to the new name!
You can enter a combination of letters, digits, and underscore (_) characters, for example MyStation, MyStation1, My_Station_1. The name of an object cannot start with a digit, i.e., you cannot enter 1Station.
Note:
You cannot change the name of the objects EventController and Connector.
Data Type of the Value You Can Assign
You can assign a value of data type string.
Note:
After renaming the object you can only address it under the new name.
Return Value
The return value has the data type string.
Example
print Station1.Name |
Related Topics