C# Class Revit.SDK.Samples.Openings.CS.BoundingBox

This class which inherit from Autodesk.Revit.DB.BoundingBoxXYZ store the information about Max (Min) coordinate of object can get all the corner point coordinate and create X model line
Inheritance: BoundingBoxXYZ
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
BoundingBox ( BoundingBoxXYZ boundBoxXYZ ) : System

The default constructor

CreateLines ( UIApplication app ) : void

Create X model line with the BoundBox Create 12 lines to makeup an cube

Private Methods

Méthode Description
GetCorners ( ) : void

get all the Corner points of Cube Box via Min and Max

NewModelLine ( UIApplication app, int pointIndex1, int pointIndex2 ) : void

new ModelLine in BoundingBox

NewSketchPlanePassLine ( System.Line aline, UIApplication app ) : SketchPlane

Create a Sketch Plane which pass the defined line the defined line must be one of BoundingBox Profile

Method Details

BoundingBox() public méthode

The default constructor
public BoundingBox ( BoundingBoxXYZ boundBoxXYZ ) : System
boundBoxXYZ BoundingBoxXYZ The reference of the application in revit
Résultat System

CreateLines() public méthode

Create X model line with the BoundBox Create 12 lines to makeup an cube
public CreateLines ( UIApplication app ) : void
app UIApplication Application get from RevitAPI
Résultat void