-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for revit api : StructuralSettings.GetStructuralSettings,…
… SunAndShadowSettings.GetActiveSunAndShadowSettings, RevisionNumberingSequence.GetAllRevisionNumberingSequences, AreaVolumeSettings.GetAreaVolumeSettings, SolidSolidCutUtils.IsElementFromAppropriateContext, FamilyUtils.FamilyCanConvertToFaceHostBased, PlumbingUtils.HasOpenConnector
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
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
18 changes: 18 additions & 0 deletions
18
sources/RevitDBExplorer/Domain/DataModel/MembersTemplates/Pipe_Templates.cs
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,18 @@ | ||
using System.Collections.Generic; | ||
using Autodesk.Revit.DB.Plumbing; | ||
using RevitDBExplorer.Domain.DataModel.Members; | ||
using RevitDBExplorer.Domain.DataModel.Members.Base; | ||
|
||
// (c) Revit Database Explorer https://github.com/NeVeSpl/RevitDBExplorer/blob/main/license.md | ||
|
||
namespace RevitDBExplorer.Domain.DataModel.MembersTemplates | ||
{ | ||
internal class Pipe_Templates : IHaveMemberTemplates | ||
{ | ||
public IEnumerable<ISnoopableMemberTemplate> GetTemplates() => | ||
[ | ||
MemberTemplate<Pipe>.Create((doc, target) => PlumbingUtils.HasOpenConnector(doc, target.Id), kind: MemberKind.StaticMethod), | ||
|
||
]; | ||
} | ||
} |