添加项目文件。
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Autodesk.Revit.DB;
|
||||
using IFC_Revit_Interop.Utils;
|
||||
|
||||
namespace IFC_Revit_Interop
|
||||
{
|
||||
// Token: 0x02000018 RID: 24
|
||||
internal class ParentFinder
|
||||
{
|
||||
// Token: 0x06000078 RID: 120 RVA: 0x00006E5C File Offset: 0x0000505C
|
||||
public ParentFinder(Document doc, Log log)
|
||||
{
|
||||
this.log = log;
|
||||
this.doc = doc;
|
||||
this.coll = new FilteredElementCollector(doc).WhereElementIsNotElementType().WhereElementIsViewIndependent();
|
||||
}
|
||||
|
||||
// Token: 0x06000079 RID: 121 RVA: 0x00006E93 File Offset: 0x00005093
|
||||
public void Find()
|
||||
{
|
||||
new CurtainParentFinder(this).Find();
|
||||
new RailingParentFinder(this).Find();
|
||||
}
|
||||
|
||||
// Token: 0x04000078 RID: 120
|
||||
public Log log;
|
||||
|
||||
// Token: 0x04000079 RID: 121
|
||||
public Document doc;
|
||||
|
||||
// Token: 0x0400007A RID: 122
|
||||
public Dictionary<int, int> ChildToParent = new Dictionary<int, int>();
|
||||
|
||||
// Token: 0x0400007B RID: 123
|
||||
public FilteredElementCollector coll;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user