C# Class Revit.SDK.Samples.NewRoof.RoofsManager.CS.RoofsManager

The RoofsManager is used to manage the operations between Revit and UI.
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Свойство Type Description
RoofKind CreateRoofKind

Méthodes publiques

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

Private Methods

Méthode Description
Initialize ( ) : void

Initialize the data member

Method Details

AbortTransaction() public méthode

Abort a transaction.
public AbortTransaction ( ) : TransactionStatus
Résultat TransactionStatus

BeginTransaction() public méthode

Begin a transaction.
public BeginTransaction ( ) : TransactionStatus
Résultat TransactionStatus

CreateExtrusionRoof() public méthode

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.
Résultat ExtrusionRoof

CreateFootPrintRoof() public méthode

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.
Résultat FootPrintRoof

EndTransaction() public méthode

Finish a transaction.
public EndTransaction ( ) : TransactionStatus
Résultat TransactionStatus

RoofsManager() public méthode

The constructor of RoofsManager class.
public RoofsManager ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData
Résultat System

SelectFootPrint() public méthode

Select elements in Revit to obtain the footprint roof lines.
public SelectFootPrint ( ) : CurveArray
Résultat CurveArray

SelectProfile() public méthode

Select elements in Revit to obtain the extrusion profile lines.
public SelectProfile ( ) : CurveArray
Résultat CurveArray

WindowSelect() public méthode

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

Property Details

RoofKind public_oe property

public CreateRoofKind RoofKind
Résultat CreateRoofKind