C# 클래스 Revit.SDK.Samples.Loads.CS.LoadCombinationDeal

mainly deal class which give methods to connect Revit and the user operation on the form
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
AddFormula ( String caseName ) : System.Boolean

Add a formula with the load case name

DeleteCombination ( int index ) : System.Boolean

Delete the selected Load Combination

DeleteUsage ( int index ) : System.Boolean

Delete the selected Load Usage

LoadCombinationDeal ( Loads dataBuffer ) : System

Default constructor of LoadCombinationDeal

ModifyUsageName ( String oldName, String newName ) : System.Boolean

Change usage name when the user modify it on the form

NewLoadCombination ( String name, int typeId, int stateId ) : System.Boolean

Create new Load Combination

NewLoadUsage ( String usageName ) : System.Boolean

Create a new load combination usage

PrepareData ( ) : void

Find out all Load Combination and Usage in the existing document. As specification require, prepare some Load Combination Usages if they are not in document

비공개 메소드들

메소드 설명
FindLoadCaseByName ( String name ) : LoadCase

Find a load case by the load case name

FindUsageByName ( String name ) : LoadUsage

Find a load usage by the load usage name

메소드 상세

AddFormula() 공개 메소드

Add a formula with the load case name
public AddFormula ( String caseName ) : System.Boolean
caseName String The name of the load case
리턴 System.Boolean

DeleteCombination() 공개 메소드

Delete the selected Load Combination
public DeleteCombination ( int index ) : System.Boolean
index int The selected index in the DataGridView
리턴 System.Boolean

DeleteUsage() 공개 메소드

Delete the selected Load Usage
public DeleteUsage ( int index ) : System.Boolean
index int The selected index in the DataGridView
리턴 System.Boolean

LoadCombinationDeal() 공개 메소드

Default constructor of LoadCombinationDeal
public LoadCombinationDeal ( Loads dataBuffer ) : System
dataBuffer Loads
리턴 System

ModifyUsageName() 공개 메소드

Change usage name when the user modify it on the form
public ModifyUsageName ( String oldName, String newName ) : System.Boolean
oldName String The name before modification
newName String The name after modification
리턴 System.Boolean

NewLoadCombination() 공개 메소드

Create new Load Combination
public NewLoadCombination ( String name, int typeId, int stateId ) : System.Boolean
name String The new Load Combination name
typeId int The index of new Load Combination Type
stateId int The index of new Load Combination State
리턴 System.Boolean

NewLoadUsage() 공개 메소드

Create a new load combination usage
public NewLoadUsage ( String usageName ) : System.Boolean
usageName String The new Load Usage name
리턴 System.Boolean

PrepareData() 공개 메소드

Find out all Load Combination and Usage in the existing document. As specification require, prepare some Load Combination Usages if they are not in document
public PrepareData ( ) : void
리턴 void