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; }
public static DirectShape Wrap(Autodesk.Revit.DB.DirectShape ele, bool isRevitOwned) { return(DirectShape.FromExisting(ele, isRevitOwned)); }