C# Класс Revit.SDK.Samples.MultithreadedCalculation.CS.MultithreadedCalculation

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

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

Метод Описание
CreateContainer ( Element element ) : MultithreadedCalculationContainer

Prepares a container object that carries out the calculations without invoking Revit API calls.

Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : Autodesk.Revit.UI.Result

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

Метод Описание
GetBiggestFaceFacingUser ( Element element, XYZ viewDirection ) : Face

Gets the biggest face which faces the user. Assumes that the element is a wall, or floor, or other "2-sided" element, and that one of the two biggest faces will be facing roughly towards the viewer.

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

CreateContainer() публичный статический Метод

Prepares a container object that carries out the calculations without invoking Revit API calls.
public static CreateContainer ( Element element ) : MultithreadedCalculationContainer
element Element The element for the calculations.
Результат MultithreadedCalculationContainer

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

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