C# Класс Revit.SDK.Samples.Reinforcement.CS.FrameReinMakerFactory

The factory to create the corresponding FrameReinMaker, such as BeamFramReinMaker.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AssertData ( ) : bool

check the condition of host object and see whether the rebars can be placed on

FrameReinMakerFactory ( ExternalCommandData commandData ) : System

constructor

work ( ) : bool

The main method which create the corresponding FrameReinMaker according to the host object type, and invoke Run() method to create reinforcement rebars

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

Метод Описание
GetHostObject ( ) : bool

Get the selected element as the host object, also check if the selected element is expected host object

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

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

check the condition of host object and see whether the rebars can be placed on
public AssertData ( ) : bool
Результат bool

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

constructor
public FrameReinMakerFactory ( ExternalCommandData commandData ) : System
commandData ExternalCommandData the ExternalCommandData reference
Результат System

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

The main method which create the corresponding FrameReinMaker according to the host object type, and invoke Run() method to create reinforcement rebars
public work ( ) : bool
Результат bool