C# 클래스 Revit.SDK.Samples.ShaftHolePuncher.CS.ProfileBeam

ProfileBeam class contains the information about profile of beam, and contains method used to create opening on a beam.
상속: Profile
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
ChangeTransformMatrix ( bool isZaxis ) : void

Change transform matrix used to transform points to 2d.

CreateOpening ( List points ) : Opening

Create Opening on beam

GetFaceBounds ( ) : System.Drawing.PointF[]

Get the bound of a face

GetFaces ( Autodesk elem ) : List>

Get edges of element's profile

GetNeedPoints ( List faces ) : List>

Get points of the first face

GetTo2DMatrix ( ) : Matrix4

Get a matrix which can transform points to 2D

ProfileBeam ( FamilyInstance beam, ExternalCommandData commandData ) : System

constructor

메소드 상세

ChangeTransformMatrix() 공개 메소드

Change transform matrix used to transform points to 2d.
public ChangeTransformMatrix ( bool isZaxis ) : void
isZaxis bool transform points to which plane. /// true means transform points to plane whose normal is Zaxis of beam. /// false means transform points to plane whose normal is Yaxis of beam ///
리턴 void

CreateOpening() 공개 메소드

Create Opening on beam
public CreateOpening ( List points ) : Opening
points List points used to create Opening
리턴 Opening

GetFaceBounds() 공개 메소드

Get the bound of a face
public GetFaceBounds ( ) : System.Drawing.PointF[]
리턴 System.Drawing.PointF[]

GetFaces() 공개 메소드

Get edges of element's profile
public GetFaces ( Autodesk elem ) : List>
elem Autodesk selected element
리턴 List>

GetNeedPoints() 공개 메소드

Get points of the first face
public GetNeedPoints ( List faces ) : List>
faces List edges in all faces
리턴 List>

GetTo2DMatrix() 공개 메소드

Get a matrix which can transform points to 2D
public GetTo2DMatrix ( ) : Matrix4
리턴 Matrix4

ProfileBeam() 공개 메소드

constructor
public ProfileBeam ( FamilyInstance beam, ExternalCommandData commandData ) : System
beam FamilyInstance beam to create opening on
commandData ExternalCommandData object which contains reference to Revit Application
리턴 System