FilteredElementCollector collector = new FilteredElementCollector(doc); List<Element> elems = collector.OfCategory(BuiltInCategory.OST_Levels).WhereElementIsNotElementType(). ToElements(). ToList(); foreach (var elem in elems) { Level level = elem as Level; if (elem.Name == "Origin") { level.Elevation = 35138 / 304.8; } }