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

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

Méthodes publiques

Méthode 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 méthode

Add some spaces to current Zone.
public AddSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
Résultat void

CreateZone() public méthode

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

GetZones() public méthode

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

RemoveSpaces() public méthode

Remove some spaces to current Zone.
public RemoveSpaces ( SpaceSet spaces ) : void
spaces SpaceSet
Résultat void

ZoneManager() public méthode

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.
Résultat System