C# 클래스 Revit.SDK.Samples.NewRoof.RoofsManager.CS.RoofsManager

The RoofsManager is used to manage the operations between Revit and UI.
파일 보기 프로젝트 열기: AMEE/revit

공개 프로퍼티들

프로퍼티 타입 설명
RoofKind CreateRoofKind

공개 메소드들

메소드 설명
AbortTransaction ( ) : TransactionStatus

Abort a transaction.

BeginTransaction ( ) : TransactionStatus

Begin a transaction.

CreateExtrusionRoof ( ReferencePlane refPlane, Level level, RoofType roofType, double extrusionStart, double extrusionEnd ) : ExtrusionRoof

Create a extrusion roof.

CreateFootPrintRoof ( Level level, RoofType roofType ) : FootPrintRoof

Create a footprint roof.

EndTransaction ( ) : TransactionStatus

Finish a transaction.

RoofsManager ( ExternalCommandData commandData ) : System

The constructor of RoofsManager class.

SelectFootPrint ( ) : CurveArray

Select elements in Revit to obtain the footprint roof lines.

SelectProfile ( ) : CurveArray

Select elements in Revit to obtain the extrusion profile lines.

WindowSelect ( ) : CurveArray

Select elements in Revit to obtain the footprint roof lines or extrusion profile lines.

비공개 메소드들

메소드 설명
Initialize ( ) : void

Initialize the data member

메소드 상세

AbortTransaction() 공개 메소드

Abort a transaction.
public AbortTransaction ( ) : TransactionStatus
리턴 TransactionStatus

BeginTransaction() 공개 메소드

Begin a transaction.
public BeginTransaction ( ) : TransactionStatus
리턴 TransactionStatus

CreateExtrusionRoof() 공개 메소드

Create a extrusion roof.
public CreateExtrusionRoof ( ReferencePlane refPlane, Level level, RoofType roofType, double extrusionStart, double extrusionEnd ) : ExtrusionRoof
refPlane ReferencePlane The reference plane for the extrusion roof.
level Level The reference level of the roof to be created.
roofType RoofType The type of the newly created roof.
extrusionStart double The extrusion start point.
extrusionEnd double The extrusion end point.
리턴 ExtrusionRoof

CreateFootPrintRoof() 공개 메소드

Create a footprint roof.
public CreateFootPrintRoof ( Level level, RoofType roofType ) : FootPrintRoof
level Level The base level of the roof to be created.
roofType RoofType The type of the newly created roof.
리턴 FootPrintRoof

EndTransaction() 공개 메소드

Finish a transaction.
public EndTransaction ( ) : TransactionStatus
리턴 TransactionStatus

RoofsManager() 공개 메소드

The constructor of RoofsManager class.
public RoofsManager ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData
리턴 System

SelectFootPrint() 공개 메소드

Select elements in Revit to obtain the footprint roof lines.
public SelectFootPrint ( ) : CurveArray
리턴 CurveArray

SelectProfile() 공개 메소드

Select elements in Revit to obtain the extrusion profile lines.
public SelectProfile ( ) : CurveArray
리턴 CurveArray

WindowSelect() 공개 메소드

Select elements in Revit to obtain the footprint roof lines or extrusion profile lines.
public WindowSelect ( ) : CurveArray
리턴 CurveArray

프로퍼티 상세

RoofKind 공개적으로 프로퍼티

public CreateRoofKind RoofKind
리턴 CreateRoofKind