Skip to content

Commit

Permalink
add wrapper over Revit RoofBase class to D4R Roof class (#3077)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianaStanica authored Jul 10, 2024
1 parent 9c12ccf commit 2a728d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.23
0.6.24
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.24
* Fix Roof.Points raising an invalid argument exception by adding a wrapper over RoofBase Revit class to Roof D4R class

## 0.6.23
* Add OOTB template files for Revit 2026+ as well

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,11 @@ public static RoofType Wrap(Autodesk.Revit.DB.RoofType ele, bool isRevitOwned)
return RoofType.FromExisting(ele, isRevitOwned);
}

public static Roof Wrap(Autodesk.Revit.DB.RoofBase ele, bool isRevitOwned)
{
return Roof.FromExisting(ele, isRevitOwned);
}

public static ScheduleOnSheet Wrap(Autodesk.Revit.DB.ScheduleSheetInstance ele, bool isRevitOwned)
{
return ScheduleOnSheet.FromExisting(ele, isRevitOwned);
Expand Down

0 comments on commit 2a728d8

Please sign in to comment.