C# Class Revit.SDK.Samples.Reinforcement.CS.FrameReinMakerFactory

The factory to create the corresponding FrameReinMaker, such as BeamFramReinMaker.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetHostObject ( ) : bool

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

Method Details

AssertData() public méthode

check the condition of host object and see whether the rebars can be placed on
public AssertData ( ) : bool
Résultat bool

FrameReinMakerFactory() public méthode

constructor
public FrameReinMakerFactory ( ExternalCommandData commandData ) : System
commandData ExternalCommandData the ExternalCommandData reference
Résultat System

work() public méthode

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
Résultat bool