C# Класс Revit.SDK.Samples.Rooms.CS.RoomsData

Iterates through the rooms in the project and get the information of all the rooms
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CalculateDepartmentArea ( String departName, Double areaValue ) : void

calculate the area of rooms for each department

CreateTags ( ) : void

create the room tags for the rooms which lack room tag

ExportFile ( String fileName ) : void

export data into an Excel file

GetProperty ( Room room, BuiltInParameter paraEnum ) : String

get the room property and Department property according the property name

ReorderRooms ( ) : void

reorder all the rooms' number

RoomsData ( ExternalCommandData commandData ) : System

constructor

Приватные методы

Метод Описание
ClassifyRooms ( ) : void

find out the rooms that without room tag

GetAllRoomsAndTags ( ) : void

get all the rooms and room tags in the project

SortRooms ( ) : bool

sort all the rooms by ascending order according their coordinate

Описание методов

CalculateDepartmentArea() публичный Метод

calculate the area of rooms for each department
public CalculateDepartmentArea ( String departName, Double areaValue ) : void
departName String the department name
areaValue Double the value of room area
Результат void

CreateTags() публичный Метод

create the room tags for the rooms which lack room tag
public CreateTags ( ) : void
Результат void

ExportFile() публичный Метод

export data into an Excel file
public ExportFile ( String fileName ) : void
fileName String
Результат void

GetProperty() публичный Метод

get the room property and Department property according the property name
public GetProperty ( Room room, BuiltInParameter paraEnum ) : String
room Room a instance of room class
paraEnum BuiltInParameter the property name
Результат String

ReorderRooms() публичный Метод

reorder all the rooms' number
public ReorderRooms ( ) : void
Результат void

RoomsData() публичный Метод

constructor
public RoomsData ( ExternalCommandData commandData ) : System
commandData ExternalCommandData
Результат System