@narella1 See if the the attached definition works for you. Also attached is an example Revit file
However, the values are written to Comments and not Mark
DoorLabelByGrid.dyn (27.0 KB)
DoorLabelByGrid.rvt (1.4 MB)
2 Likes