4 # Testing attribute: TDataStd_Name
6 # Testing command: SetName
7 # Testing command: GetName
12 # Add an attribute to a data framework
13 set aSetAttr1 "New Attribute"
16 SetName D ${aLabel} ${aSetAttr1}
18 # Close/Open the transaction
21 # Forget the attribute
24 # Close/Open the transaction
32 # Get a value of the attribute
33 set aGetAttr1 [GetName D ${aLabel}]
34 if { ${aSetAttr1}!=${aGetAttr1} } {
35 puts "aSetAttr1=${aSetAttr1} aGetAttr1=${aGetAttr1}"
36 puts "Add TDataStd_Name attribute: Error"
39 puts "Add TDataStd_Name attribute: OK"