/// <summary> /// 保存复制数据 /// </summary> /// <param name="cso"> </param> /// <param name="xmlDB"> </param> /// <param name="basePoint"> </param> private static XmlDBManager AddXmlDB(CopySymbolObject cso, XmlDBManager xmlDB, Point3d basePoint) { if (cso.pointDBEntity != null) { var newObject_pt = cso.pointDBEntity; newObject_pt.BasePoint = ConvertGeometry.Instance.GetMultipoint(basePoint.X, basePoint.Y, 0); xmlDB.Insert(newObject_pt); } if (cso.hsDBEntity != null) { foreach (var nData in cso.hsDBEntity) { xmlDB.Insert(nData.dbEntity); } } return(xmlDB); }