C# 클래스 BuildingCoder.CmdSetTagType

상속: IExternalCommand
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples

공개 메소드들

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