Skip to content

Commit

Permalink
Area, Areatab,Category, Dimension OS
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpierson committed May 6, 2020
1 parent c16dfeb commit 107d957
Show file tree
Hide file tree
Showing 10 changed files with 1,097 additions and 10 deletions.
111 changes: 111 additions & 0 deletions !Documentation/Logo/ProfileImage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added !Documentation/Logo/bitmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added !Documentation/Logo/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added !Documentation/Logo/profileImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions !Documentation/Logo/sixtysecondrevit.com.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added !Documentation/Logo/sixtysecondrevit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/Rhythm/Revit/Elements/Area.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public static Solid Solid(global::Revit.Elements.Element area, double areaHeight
solid = solid.DifferenceAll(solidCollection);
}


return solid;
}

Expand Down
25 changes: 25 additions & 0 deletions src/Rhythm/Revit/Elements/AreaTag.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using Revit.Elements;

namespace Rhythm.Revit.Elements
{
/// <summary>
/// Wrapper class for area tags
/// </summary>
public class AreaTag
{
private AreaTag()
{
}

/// <summary>
/// Retrieves the area that is tagged by the given area tag.
/// </summary>
/// <param name="areaTag"></param>
/// <returns></returns>
public static global::Revit.Elements.Element TaggedArea(global::Revit.Elements.Element areaTag)
{
Autodesk.Revit.DB.AreaTag areaTagInternal = areaTag.InternalElement as Autodesk.Revit.DB.AreaTag;
return areaTagInternal.Area.ToDSType(true);
}
}
}
Loading

0 comments on commit 107d957

Please sign in to comment.