Method | Description | |
---|---|---|
NewRebarShapeForm ( ) : System |
Default constructor.
|
|
NewRebarShapeForm ( Autodesk rvtDoc, |
Constructor, Initialize the fields.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
GetOrCreateDefinitionGroup ( ) : DefinitionGroup |
Get a definition group if there exists one, otherwise, a new one will be created.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
NewRebarShapeForm_Load ( object sender, |
Load event, Initialize the controls data.
|
|
addConstraintButton_Click ( object sender, |
Present a dialog to add a constraint to RebarShapeDef.
|
|
addParameterButton_Click ( object sender, |
Present a dialog to add a parameter to RebarShapeDef.
|
|
cancelButton_Click ( object sender, |
Cancel Button, Cancel the creation of RebarShape.
|
|
constraintListBox_SelectedIndexChanged ( object sender, |
When the selection in the constraint listBox is changed, the property grid's content should be changed too.
|
|
okButton_Click ( object sender, |
OK Button, commit the RebarShapeDef, if there are not any exception, The RebarShape will be added to Revit Document successfully.
|
|
parameterListBox_SelectedIndexChanged ( object sender, |
When the selection in the parameter listBox is changed, the property grid's content should be changed too.
|
|
useHooksCheckBox_CheckedChanged ( object sender, |
When the check status of useHooksCheckBox is changed, other comboBox's enabled status should be changed too.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public NewRebarShapeForm ( Autodesk rvtDoc, |
||
rvtDoc | Autodesk | |
shapeDef | RebarShapeDef object | |
return | System |