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

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

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