C# Класс BuildingCoder.CmdSetTagType

Наследование: IExternalCommand
Показать файл Открыть проект

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

Метод Описание
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

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

Метод Описание
GetBottomAndTopLevels ( Document doc, Level &levelBottom, Level &levelTop ) : bool

Determine bottom and top levels for creating walls. In a default empty Revit Architecture project, 'Level 1' and 'Level 2' will be returned.

GetElementsOfType ( Document doc, Type type, BuiltInCategory bic ) : FilteredElementCollector

Return all elements of the requested class, i.e. System.Type, matching the given built-in category in the given document.

GetFamilySymbols ( Document doc, BuiltInCategory bic ) : FilteredElementCollector

Return all family symbols in the given document matching the given built-in category. Todo: Compare this with the FamilySymbolFilter class.

GetFirstFamilySymbol ( Document doc, BuiltInCategory bic ) : FamilySymbol

Return the first family symbol found in the given document matching the given built-in category, or null if none is found.

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

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

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Результат System.Result