Méthode | Description | |
---|---|---|
AddBottomChordMovePoint ( int x, int y ) : void |
add move point to line tool of bottom chord
|
|
AddBottomChordPoint ( int x, int y ) : void |
add new point to line tool which used to draw bottom chord
|
|
AddTopChordMovePoint ( int x, int y ) : void |
add move point to line tool of top chord
|
|
AddTopChordPoint ( int x, int y ) : void |
add new point to line tool which used to draw top chord
|
|
ClearChords ( ) : void |
clear points of top chord and bottom chord
|
|
ClearMovePoint ( ) : void | ||
CreateGraphicsPath ( ) : void |
Create GraphicsPath object for each curves of truss
|
|
Draw2D ( |
draw profile of truss in pictureBox
|
|
DrawSelectedLineRed ( |
Draw selected line (beam) by red pen
|
|
Get2DTo3DMatrix ( ) : |
calculate the matrix used to transform 2D to 3D
|
|
Get2DToTrussProfileMatrix ( ) : |
calculate the matrix used to transform 2d points (on pictureBox) to the plane of truss which use to set profile
|
|
Get3DTo2DMatrix ( ) : |
calculate the matrix used to transform 3D to 2D
|
|
GetBoundsPoints ( ) : Autodesk.Revit.DB.XYZ[] |
Get max and min coordinates of all points
|
|
GetMoveToCenterMatrix ( ) : |
Get a matrix which can move points to center
|
|
GetScaleMatrix ( ) : |
calculate the matrix use to scale
|
|
GetSelectedBeam ( ExternalCommandData commandData ) : FamilyInstance |
Get selected beam (truss member) by select index
|
|
GetTo2DMatrix ( ) : |
Get a matrix which can transform points to 2D
|
|
GetTrussPoints ( ) : List |
Get points of the truss
|
|
RemoveProfile ( ) : void |
restores truss profile to original
|
|
Reset ( ) : void |
Reset index and clear line tool
|
|
SelectTrussMember ( int x, int y ) : int |
Judge which truss member has been selected via location of mouse
|
|
SetProfile ( ExternalCommandData commandData ) : void |
Set profile of truss
|
|
TrussGeometry ( Autodesk truss, ExternalCommandData commandData ) : System |
constructor
|
Méthode | Description | |
---|---|---|
GetChordPoints ( |
||
GetTrussGeometryInfo ( ) : void |
Calculate geometry info for truss
|
public AddBottomChordMovePoint ( int x, int y ) : void | ||
x | int | X coordinate |
y | int | Y coordinate |
Résultat | void |
public AddBottomChordPoint ( int x, int y ) : void | ||
x | int | X coordinate |
y | int | Y coordinate |
Résultat | void |
public AddTopChordMovePoint ( int x, int y ) : void | ||
x | int | X coordinate |
y | int | Y coordinate |
Résultat | void |
public AddTopChordPoint ( int x, int y ) : void | ||
x | int | X coordinate |
y | int | Y coordinate |
Résultat | void |
public Draw2D ( |
||
graphics | form graphic | |
pen | pen used to draw line in pictureBox | |
Résultat | void |
public DrawSelectedLineRed ( |
||
graphics | graphics of picture box | |
Résultat | void |
public Get2DToTrussProfileMatrix ( ) : |
||
Résultat |
public GetBoundsPoints ( ) : Autodesk.Revit.DB.XYZ[] | ||
Résultat | Autodesk.Revit.DB.XYZ[] |
public GetSelectedBeam ( ExternalCommandData commandData ) : FamilyInstance | ||
commandData | ExternalCommandData | object which contains reference of Revit Application |
Résultat | FamilyInstance |
public SelectTrussMember ( int x, int y ) : int | ||
x | int | X coordinate of mouse location |
y | int | Y coordinate of mouse location |
Résultat | int |
public SetProfile ( ExternalCommandData commandData ) : void | ||
commandData | ExternalCommandData | object which contains reference of Revit Application |
Résultat | void |
public TrussGeometry ( Autodesk truss, ExternalCommandData commandData ) : System | ||
truss | Autodesk | new created truss object in Revit |
commandData | ExternalCommandData | |
Résultat | System |