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

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

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

Метод Описание
AddSpaces ( SpaceSet spaces ) : void

Add some spaces to current Zone.

CreateZone ( Level level, Phase phase ) : void

Create a zone in a specified level and phase.

GetZones ( Level level ) : List

Get the Zone elements in a specified level.

RemoveSpaces ( SpaceSet spaces ) : void

Remove some spaces to current Zone.

ZoneManager ( ExternalCommandData commandData, Dictionary zoneData ) : System

The constructor of ZoneManager class.

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

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

Add some spaces to current Zone.
public AddSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
Результат void

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

Create a zone in a specified level and phase.
public CreateZone ( Level level, Phase phase ) : void
level Level
phase Phase
Результат void

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

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

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

Remove some spaces to current Zone.
public RemoveSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
Результат void

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

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