6 from salome.geom import geomBuilder
7 geompy = geomBuilder.New(salome.myStudy)
10 xtFile = "/path/to/the/xt/file.x_t"
12 if os.path.exists(xtFile):
14 shape = geompy.ImportXT(xtFile)
17 geompy.addToStudy(shape, "ImportXT")
20 print "ERROR: File %s does not exist" % xtFile