def VtkCargaIdsCells(uGrid, setToDraw, entTypeName): etiqCells = create_array_set_data.VtkCreaStrArraySetData( setToDraw, entTypeName, 'nombre') uGrid.GetCellData().AddArray(etiqCells)
def VtkCargaIdsKPts(uGrid, setToDraw): etiqKPt = create_array_set_data.VtkCreaStrArraySetData( setToDraw, 'pnts', 'nombre') uGrid.GetPointData().AddArray(etiqKPt)