C# Class Revit.SDK.Samples.AddSpaceAndZone.CS.ZoneManager

The ZoneManager class is used to manage the Zone elements in the current document.
Exibir arquivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
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.

Method Details

AddSpaces() public method

Add some spaces to current Zone.
public AddSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
return void

CreateZone() public method

Create a zone in a specified level and phase.
public CreateZone ( Level level, Phase phase ) : void
level Level
phase Phase
return void

GetZones() public method

Get the Zone elements in a specified level.
public GetZones ( Level level ) : List
level Level
return List

RemoveSpaces() public method

Remove some spaces to current Zone.
public RemoveSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
return void

ZoneManager() public method

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.
return System