C# Class Revit.SDK.Samples.ShaftHolePuncher.CS.ProfileFloor

ProfileFloor class contains the information about profile of floor, and contains method used to create Opening on floor
Inheritance: Profile
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreateOpening ( List points ) : Opening

Create Opening on floor

GetNeedPoints ( List faces ) : List>

Get points of the first face

GetTo2DMatrix ( ) : Matrix4

Get a matrix which can transform points to 2D

ProfileFloor ( Floor floor, ExternalCommandData commandData ) : System

constructor

Method Details

CreateOpening() public method

Create Opening on floor
public CreateOpening ( List points ) : Opening
points List points used to create Opening
return Opening

GetNeedPoints() public method

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

GetTo2DMatrix() public method

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

ProfileFloor() public method

constructor
public ProfileFloor ( Floor floor, ExternalCommandData commandData ) : System
floor Floor floor to create Opening on
commandData ExternalCommandData object which contains reference of Revit Application
return System