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

ProfileWall class contains the information about profile of wall, and contains method to create PathReinforcement on wall
Inheritance: Profile
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreatePathReinforcement ( List points, bool flip ) : PathReinforcement

create PathReinforcement 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

CreatePathReinforcement() public method

create PathReinforcement on wall
public CreatePathReinforcement ( List points, bool flip ) : PathReinforcement
points List points used to create PathReinforcement
flip bool used to specify whether new PathReinforcement is Filp
return PathReinforcement

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 reinforcement on
commandData ExternalCommandData object which contains reference to Revit Application
return System