示例#1
0
文件: Model.cs 项目: dickiyamu/revit
 public DF.Model ToDragonfly()
 {
     return(new DF.Model(
                Identifier,
                Buildings.Select(x => x.ToDragonfly()).ToList(),
                Properties.ToDragonfly(),
                DisplayName,
                null, // user data
                null, // version
                ContextShades.Select(x => x.ToDragonfly()).ToList(),
                Units,
                Tolerance,
                AngleTolerance
                ));
 }
示例#2
0
文件: Model.cs 项目: dickiyamu/revit
 public HB.Model ToHoneybee()
 {
     return(new HB.Model(
                Identifier,
                Properties.ToHoneybee(),
                DisplayName,
                null, // user data
                null, //version
                Rooms,
                null, // orphaned faces
                ContextShades.Select(x => x.ToHoneybee()).ToList(),
                null, // orphaned apertures
                null, // orphaned doors
                Units,
                Tolerance,
                AngleTolerance
                ));
 }