Measuring Objects To select objects you want to measure, enter model.geom(<tag>).measure().selection().init(); model.geom(<tag>).measure().selection().set(<objnames>); where <objnames> is a string array containing the object names. To get the total number of entities in the selected objects, enter int[] entitiesPerDimension = model.geom(<tag>).measure().getNEntities();