Can we add annotations/labels to contact source or target location centroids something similar to the below image -
You can add labels or annotations to a figure that is created for the contact using the below snippet -
geodata = ExtAPI.DataModel.GeoData contact = DataModel.GetObjectsByName('my_contact')[0] c_id = contact.SourceLocation face = geodata.GeoEntityById(c_id.Ids[0]) figure = contact.AddFigure() lm = Graphics.LabelManager label = anno.CreateLabel(figure) label.Note = 'ABC' label.Scoping.XYZ = Point((face.Centroid[0],face.Centroid[1],face.Centroid[2]), 'm')