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

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

Public Methods

Method Description
CreateSpaces ( Level level, Phase phase ) : void

Create the space for each closed wall loop or closed space separation in the active view.

GetSpaces ( Level level ) : List

Get the Spaces elements in a specified level.

SpaceManager ( ExternalCommandData data, Dictionary spaceData ) : System

The constructor of SpaceManager class.

Method Details

CreateSpaces() public method

Create the space for each closed wall loop or closed space separation in the active view.
public CreateSpaces ( Level level, Phase phase ) : void
level Level The level in which the spaces is to exist.
phase Phase The phase in which the spaces is to exist.
return void

GetSpaces() public method

Get the Spaces elements in a specified level.
public GetSpaces ( Level level ) : List
level Level
return List

SpaceManager() public method

The constructor of SpaceManager class.
public SpaceManager ( ExternalCommandData data, Dictionary spaceData ) : System
data ExternalCommandData The ExternalCommandData
spaceData Dictionary The spaceData contains all the Space elements in different level.
return System