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
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

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