#!/usr/bin/python import itaps from itaps import iBase, iGeom, iMesh geomfile = 'cyltst.sat' geom = iGeom.Geom() geom.load(geomfile) # a point that returns a volume from getPtClass point1 = (-220, 550, 150) # a point that should return a volume from getPtClass # but instead returns a surface handle point2 = (-220, 0, 150) print 'point 1 data' handle1 = geom.getPtClass(point1, 1) handleType1 = geom.getEntType(handle1) print handle1 print handleType1 # print blank line print ' ' print 'point 2 data' handle2 = geom.getPtClass(point2, 1) handleType2 = geom.getEntType(handle2) print handle2 print handleType2