1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/caf/bug26290_compatibility
abv 7a1b96cb98 0023639: Exception on attempt to save to XmlOcaf format
Variant FULL is removed from the options of DRAW command pload; ALL can be used in all cases
2016-11-17 14:41:50 +03:00

28 lines
593 B
Plaintext

# OCAF VISUALIZATION
# Presentation attributes
#
# Testing attribute: TPrsStd_AISPresentation & TDataXtd_Presentation
#
# Testing command: standard set of commands
#
# The test checks compatibility with old format files. Old files: bug26290_oldformat1.cbf & bug26290_oldformat2.cbf
pload OCAF VISUALIZATION
set Lab1 0:1:1
set Lab2 0:1:2
Open [locate_data_file bug26290_oldformat1.cbf] D
# DFBrowse D
AISInitViewer D
vsetdispmode 1
vfit
AISErase D $Lab1
Close D
Open [locate_data_file bug26290_oldformat2.cbf] D
AISInitViewer D
vsetdispmode 1
vfit
AISErase D $Lab1
AISErase D $Lab2
Close D