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

ProfileWall class contains the information about profile of a wall, and contains method to create Opening on a wall
Inheritance: Profile
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreateOpening ( List points ) : Opening

create Opening on wall

GetNeedPoints ( List faces ) : List>

Get points of first face

GetTo2DMatrix ( ) : Matrix4

Get a matrix which can transform points to 2D

ProfileWall ( Wall wall, ExternalCommandData commandData ) : System

constructor

Method Details

CreateOpening() public method

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

GetNeedPoints() public method

Get points of 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

ProfileWall() public method

constructor
public ProfileWall ( Wall wall, ExternalCommandData commandData ) : System
wall Wall wall to create Opening on
commandData ExternalCommandData object which contains reference of Revit Application
return System