C# Класс 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
Наследование: BoundingBoxXYZ
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BoundingBox() публичный Метод

The default constructor
public BoundingBox ( BoundingBoxXYZ boundBoxXYZ ) : System
boundBoxXYZ BoundingBoxXYZ The reference of the application in revit
Результат System

CreateLines() публичный Метод

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
Результат void