C# Класс Revit.SDK.Samples.Loads.CS.LoadCaseDeal

Deal the LoadCase class which give methods to connect Revit and the user operation on the form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateLoadNatures ( ) : bool

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

Описание методов

AddLoadNature() публичный Метод

add a new load nature
public AddLoadNature ( int index ) : bool
index int the selected nature's index in the nature map
Результат bool

DuplicateLoadCase() публичный Метод

Duplicate a new load case
public DuplicateLoadCase ( int index ) : bool
index int
Результат bool

IsCaseNameUnique() публичный Метод

check if the case's name is unique
public IsCaseNameUnique ( string name ) : bool
name string the name to be checked
Результат bool

IsNatureNameUnique() публичный Метод

check if the nature's name is unique
public IsNatureNameUnique ( string name ) : bool
name string the name to be checked
Результат bool

LoadCaseDeal() публичный Метод

Default constructor of LoadCaseDeal
public LoadCaseDeal ( Loads dataBuffer ) : System
dataBuffer Loads
Результат System

PrepareData() публичный Метод

prepare data for the dialog
public PrepareData ( ) : void
Результат void