메소드 | 설명 | |
---|---|---|
CreateTruss ( ) : Autodesk.Revit.DB.Structure.Truss |
create truss in Revit
|
|
DataInitialize ( ) : void |
get all the beam types, truss types and all the view plans from the active document
|
|
TrussForm ( ExternalCommandData commandData ) : System |
constructor
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
메소드 | 설명 | |
---|---|---|
BeamTypeComboBox_SelectedIndexChanged ( object sender, |
change selected beam type
|
|
BottomChordButton_Click ( object sender, |
begin to draw bottom chord
|
|
ChangeBeamTypeButton_Click ( object sender, |
change type of selected beam
|
|
CleanChordbutton_Click ( object sender, |
clear points of top and bottom chord line
|
|
CloseButton_Click ( object sender, |
Close dialogue box
|
|
CreateButton_Click ( object sender, |
create new truss
|
|
GetBeamTypes ( ) : void |
get all the beam types
|
|
GetSelectTrussOrColumns ( ) : bool |
Get 1 truss or 2 columns from selection
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
ProfileEditPictureBox_MouseClick ( object sender, MouseEventArgs e ) : void |
add point to top chord and bottom chord
|
|
ProfileEditPictureBox_MouseMove ( object sender, MouseEventArgs e ) : void |
change move point of top chord lineTool and bottom chord lineTool
|
|
ProfileEditPictureBox_Paint ( object sender, PaintEventArgs e ) : void |
draw profile, top chord and bottom of truss
|
|
RestoreButton_Click ( object sender, |
restore profile of truss
|
|
TopChordButton_Click ( object sender, |
begin to draw top chord
|
|
TrussForm_Load ( object sender, |
initialize the UI ComboBox's appearance
|
|
TrussGeometryPictureBox_MouseClick ( object sender, MouseEventArgs e ) : void |
select truss member (beam)
|
|
TrussGeometryPictureBox_MouseMove ( object sender, MouseEventArgs e ) : void |
get selected truss member (Beam)
|
|
TrussGeometryPictureBox_Paint ( object sender, PaintEventArgs e ) : void |
draw geometry of truss, and draw selected line red
|
|
TrussGraphicsTabControl_KeyPress ( object sender, |
quit the "top chord" or "bottom chord" drawing operation by pressing the "ESC" key
|
|
TrussGraphicsTabControl_Selecting ( object sender, System.Windows.Forms.TabControlCancelEventArgs e ) : void |
won't let open truss member tab until truss create successfully
|
|
TrussTypeComboBox_SelectedIndexChanged ( object sender, |
get selected truss type, this data will be used in truss creation
|
|
UpdateButton_Click ( object sender, |
update the truss according to the top chord line and the bottom chord line
|
|
ViewComboBox_SelectedIndexChanged ( object sender, |
change selected ViewPlan
|
public CreateTruss ( ) : Autodesk.Revit.DB.Structure.Truss | ||
리턴 | Autodesk.Revit.DB.Structure.Truss |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |
public TrussForm ( ExternalCommandData commandData ) : System | ||
commandData | ExternalCommandData | object which contains reference of Revit Application |
리턴 | System |