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

The DataManager Class is used to obtain, create or edit the Space elements and Zone elements.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Initialize ( ) : void

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

Method Details

CreateSpaces() public méthode

Create some spaces.
public CreateSpaces ( ) : void
Résultat void

CreateZone() public méthode

Create a Zone element.
public CreateZone ( ) : void
Résultat void

DataManager() public méthode

The constructor of DataManager class.
public DataManager ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData
Résultat System

GetSpaces() public méthode

Get the Space elements.
public GetSpaces ( ) : List
Résultat List

GetZones() public méthode

Get the Zone elements.
public GetZones ( ) : List
Résultat List

Update() public méthode

Update the current level.
public Update ( Level level ) : void
level Level
Résultat void