#!/usr/bin/python import itaps from itaps import iBase, iMesh # create empty mesh mesh = iMesh.Mesh() # load the mesh created in tagcreate.py mesh.load('tagtest.h5m') # get the entity handle for single vertex created in tagcreate.py vtxEnt = mesh.getEntities(iBase.Type.all, iMesh.Topology.all) # get the tags for the vertex vtxTags = mesh.getAllTags(vtxEnt[0]) # print the tags print vtxTags