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

This class can get all the rooms, rooms tags, room tag types and levels
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AutoTagRooms ( Level level, RoomTagType tagType ) : void

Auto tag rooms with specified RoomTagType in a level

GetTagNumber ( Room room, RoomTagType tagType ) : int

Get the amount of room tags in a room with the specified RoomTagType

RoomsData ( ExternalCommandData commandData ) : System

Constructor of RoomsData

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

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

Get all the RoomTagTypes in the current document

GetRoomWithTags ( ) : void

Get all the room tags which tagged rooms

GetRooms ( ) : void

Find all the rooms in the current document

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

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

Auto tag rooms with specified RoomTagType in a level
public AutoTagRooms ( Level level, RoomTagType tagType ) : void
level Level The level where rooms will be auto tagged
tagType RoomTagType The room tag type
Результат void

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

Get the amount of room tags in a room with the specified RoomTagType
public GetTagNumber ( Room room, RoomTagType tagType ) : int
room Room A specified room
tagType RoomTagType A specified tag type
Результат int

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

Constructor of RoomsData
public RoomsData ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The data source of RoomData class
Результат System