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

The SpaceManager class is used to manage the Spaces elements in the current document.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateSpaces ( Level level, Phase phase ) : void

Create the space for each closed wall loop or closed space separation in the active view.

GetSpaces ( Level level ) : List

Get the Spaces elements in a specified level.

SpaceManager ( ExternalCommandData data, Dictionary spaceData ) : System

The constructor of SpaceManager class.

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

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

Create the space for each closed wall loop or closed space separation in the active view.
public CreateSpaces ( Level level, Phase phase ) : void
level Level The level in which the spaces is to exist.
phase Phase The phase in which the spaces is to exist.
Результат void

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

Get the Spaces elements in a specified level.
public GetSpaces ( Level level ) : List
level Level
Результат List

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

The constructor of SpaceManager class.
public SpaceManager ( ExternalCommandData data, Dictionary spaceData ) : System
data ExternalCommandData The ExternalCommandData
spaceData Dictionary The spaceData contains all the Space elements in different level.
Результат System