private void AddOriginals(ICurve2D addTo, params ICurve2D[] copy) { GeoObjectList l = new GeoObject.GeoObjectList(); for (int i = 0; i < copy.Length; i++) { GeoObjectList toAdd = copy[i].UserData.GetData("CADability.OriginalGeoObjects") as GeoObjectList; if (toAdd != null) { l.AddRangeUnique(toAdd); } } addTo.UserData.Add("CADability.OriginalGeoObjects", l); }
public PointSymbolSelectionProperty(GeoObject.GeoObjectList multiPoint, string ResourceID) { // mehrere Punkte ausgewählt this.multiPoint = multiPoint; resourceId = ResourceID; }