C# 클래스 Revit.SDK.Samples.Reinforcement.CS.FrameReinMakerFactory

The factory to create the corresponding FrameReinMaker, such as BeamFramReinMaker.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

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