-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Area, Areatab,Category, Dimension OS
- Loading branch information
1 parent
c16dfeb
commit 107d957
Showing
10 changed files
with
1,097 additions
and
10 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} | ||
} |
Oops, something went wrong.