mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
24 lines
362 B
Plaintext
Executable File
24 lines
362 B
Plaintext
Executable File
puts "==========="
|
|
puts "OCC387"
|
|
puts "SAM1452"
|
|
puts "==========="
|
|
|
|
NewDocument D MDTV-Standard
|
|
UndoLimit D 10
|
|
NewCommand D
|
|
SetVariable D 0:1 0 a
|
|
SetRelation D 0:1 a=10 0:1
|
|
SetReal D 0:1 10
|
|
|
|
NewCommand D
|
|
SetRelation D 0:1 a=20 0:1
|
|
SetReal D 0:1 20
|
|
NewCommand D
|
|
Undo D
|
|
set Res [DumpRelation D 0:1]
|
|
|
|
if { [regexp "a=20" $Res] == 1 } {
|
|
puts "OCC387: Error "
|
|
}
|
|
|