C# Класс Revit.SDK.Samples.AddSpaceAndZone.CS.DataManager

The DataManager Class is used to obtain, create or edit the Space elements and Zone elements.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateSpaces ( ) : void

Create some spaces.

CreateZone ( ) : void

Create a Zone element.

DataManager ( ExternalCommandData commandData ) : System

The constructor of DataManager class.

GetSpaces ( ) : List

Get the Space elements.

GetZones ( ) : List

Get the Zone elements.

Update ( Level level ) : void

Update the current level.

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

Метод Описание
Initialize ( ) : void

Initialize the data member, obtain the Space and Zone elements.

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

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

Create some spaces.
public CreateSpaces ( ) : void
Результат void

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

Create a Zone element.
public CreateZone ( ) : void
Результат void

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

The constructor of DataManager class.
public DataManager ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData
Результат System

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

Get the Space elements.
public GetSpaces ( ) : List
Результат List

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

Get the Zone elements.
public GetZones ( ) : List
Результат List

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

Update the current level.
public Update ( Level level ) : void
level Level
Результат void