C# 클래스 Revit.SDK.Samples.AddSpaceAndZone.CS.ZoneManager

The ZoneManager class is used to manage the Zone elements in the current document.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddSpaces() 공개 메소드

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

CreateZone() 공개 메소드

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

GetZones() 공개 메소드

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

RemoveSpaces() 공개 메소드

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

ZoneManager() 공개 메소드

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.
리턴 System