C# 클래스 Revit.SDK.Samples.EnergyAnalysisModel.CS.EnergyAnalysisModel

파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
EnergyAnalysisModel ( System.Windows.Forms.Document doc ) : System

Constructor

GetAnalyticalOpenings ( ) : System.Xml.Linq.XElement

This method get all openings surfaces from current model

GetAnalyticalShadingSurfaces ( ) : System.Xml.Linq.XElement

This method get all Analytical ShadingSurfaces from current model

GetAnalyticalSpaces ( ) : System.Xml.Linq.XElement

Extract Analytical data about Space and its surfaces

Initialize ( ) : void

Get EnergyAnalysisDetailModel object and Initialize it.

RefreshAnalysisData ( TreeView treeView ) : void

Get Analytical data and pass them to UI controls

SetTier ( String tierValue ) : void

This method converts UI selected string to EnergyAnalysisDetailModelTier enum

비공개 메소드들

메소드 설명
SurfacesToXElement ( System.Xml.Linq.XElement node, IList analyticalSurfaces ) : void

The method adds given surfaces to specific XElement

XElementToTreeNode ( System.Xml.Linq.XElement element ) : TreeNode

This method converts XElement nodes to Tree nodes so that analysis data could be displayed in UI treeView

메소드 상세

EnergyAnalysisModel() 공개 메소드

Constructor
public EnergyAnalysisModel ( System.Windows.Forms.Document doc ) : System
doc System.Windows.Forms.Document Revit Document
리턴 System

GetAnalyticalOpenings() 공개 메소드

This method get all openings surfaces from current model
public GetAnalyticalOpenings ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

GetAnalyticalShadingSurfaces() 공개 메소드

This method get all Analytical ShadingSurfaces from current model
public GetAnalyticalShadingSurfaces ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

GetAnalyticalSpaces() 공개 메소드

Extract Analytical data about Space and its surfaces
public GetAnalyticalSpaces ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

Initialize() 공개 메소드

Get EnergyAnalysisDetailModel object and Initialize it.
public Initialize ( ) : void
리턴 void

RefreshAnalysisData() 공개 메소드

Get Analytical data and pass them to UI controls
public RefreshAnalysisData ( TreeView treeView ) : void
treeView System.Windows.Forms.TreeView
리턴 void

SetTier() 공개 메소드

This method converts UI selected string to EnergyAnalysisDetailModelTier enum
public SetTier ( String tierValue ) : void
tierValue String Selected string from UI
리턴 void