public RevitLevel LevelToSpeckle(DB.Level revitLevel) { var speckleLevel = new RevitLevel(); speckleLevel.elevation = ScaleToSpeckle(revitLevel.Elevation); speckleLevel.name = revitLevel.Name; speckleLevel.createView = true; GetAllRevitParamsAndIds(speckleLevel, revitLevel); return(speckleLevel); }
public RevitFootprintRoof([SchemaMainParam] ICurve outline, string family, string type, Level level, RevitLevel cutOffLevel = null, double slope = 0, List <ICurve> voids = null, List <Base> elements = null, List <Parameter> parameters = null) { this.outline = outline; this.voids = voids; this.family = family; this.type = type; this.slope = slope; this.parameters = parameters; this.level = level; this.cutOffLevel = cutOffLevel; this.elements = elements; }