Пример #1
0
 public DirectShapeState(DirectShape ds, string syncId, ElementId materialId) :
     base()
 {
     this.IntID      = ds.InternalElement.Id.IntegerValue;
     this.StringID   = ds.UniqueId;
     this.syncId     = syncId;
     this.materialId = materialId.IntegerValue;
 }
Пример #2
0
 public static DirectShape Wrap(Autodesk.Revit.DB.DirectShape ele, bool isRevitOwned)
 {
     return(DirectShape.FromExisting(ele, isRevitOwned));
 }