C# Класс BuildingCoder.CmdImportsInFamilies

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

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

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

Non-recursively list all import instances in all families used in the current project document.

ListImportsAndSearchForMore ( int recursionLevel, Document doc, Family>.Dictionary families ) : void

List all import instances in all the given families. Retrieve nested families and recursively search in these as well.

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

Метод Описание
GetFamilies ( Document doc ) : Family>.Dictionary

Retrieve all families used by the family instances and annotation symbols in the given document. Return a dictionary mapping the family name to the corresponding family object.

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

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

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

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

Non-recursively list all import instances in all families used in the current project document.
public ExecuteWithoutRecursion ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Результат System.Result

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

List all import instances in all the given families. Retrieve nested families and recursively search in these as well.
public ListImportsAndSearchForMore ( int recursionLevel, Document doc, Family>.Dictionary families ) : void
recursionLevel int
doc Document
families Family>.Dictionary
Результат void