1 set aTestName "caf100-R1"
13 SetVariable D ${aV1Label} 1 "N"
14 SetVariable D ${aV2Label} 0 "kg"
15 SetVariable D ${aV3Label} 0 "µ/s²"
18 set expression "f = m*a"
23 SetRelation D ${aRLabel} $expression $aV1Label $aV2Label $aV3Label
25 # Save a result for check after retrieval
26 set dump_before [DumpRelation D ${aRLabel}]
29 set aFile $WorkDirectory/${aTestName}.${FileSuffix}
33 # Restore the document
37 # Get a variable from the label
38 set IsDone [catch {set dump_after [DumpRelation DD ${aRLabel}]} aResult]
39 if { ${IsDone} != 0 } {
40 puts "Error : Get a value of TDataStd_Relation attribute from restoring document"
43 if { ${dump_after} != ${dump_before} } {
44 puts "Error : Get a value of TDataStd_Relation attribute from restoring document"