C# Class Revit.SDK.Samples.Loads.CS.LoadCaseDeal

Deal the LoadCase class which give methods to connect Revit and the user operation on the form
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
AddLoadNature ( int index ) : bool

add a new load nature

DuplicateLoadCase ( int index ) : bool

Duplicate a new load case

IsCaseNameUnique ( string name ) : bool

check if the case's name is unique

IsNatureNameUnique ( string name ) : bool

check if the nature's name is unique

LoadCaseDeal ( Loads dataBuffer ) : System

Default constructor of LoadCaseDeal

PrepareData ( ) : void

prepare data for the dialog

Private Methods

Méthode Description
CreateLoadNatures ( ) : bool

create some load case natures named EQ1, EQ2, W1, W2, W3, W4, Other

Method Details

AddLoadNature() public méthode

add a new load nature
public AddLoadNature ( int index ) : bool
index int the selected nature's index in the nature map
Résultat bool

DuplicateLoadCase() public méthode

Duplicate a new load case
public DuplicateLoadCase ( int index ) : bool
index int
Résultat bool

IsCaseNameUnique() public méthode

check if the case's name is unique
public IsCaseNameUnique ( string name ) : bool
name string the name to be checked
Résultat bool

IsNatureNameUnique() public méthode

check if the nature's name is unique
public IsNatureNameUnique ( string name ) : bool
name string the name to be checked
Résultat bool

LoadCaseDeal() public méthode

Default constructor of LoadCaseDeal
public LoadCaseDeal ( Loads dataBuffer ) : System
dataBuffer Loads
Résultat System

PrepareData() public méthode

prepare data for the dialog
public PrepareData ( ) : void
Résultat void