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

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

Public Methods

Method 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

Method Description
Initialize ( ) : void

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

Method Details

CreateSpaces() public method

Create some spaces.
public CreateSpaces ( ) : void
return void

CreateZone() public method

Create a Zone element.
public CreateZone ( ) : void
return void

DataManager() public method

The constructor of DataManager class.
public DataManager ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData
return System

GetSpaces() public method

Get the Space elements.
public GetSpaces ( ) : List
return List

GetZones() public method

Get the Zone elements.
public GetZones ( ) : List
return List

Update() public method

Update the current level.
public Update ( Level level ) : void
level Level
return void