Method | Description | |
---|---|---|
AddFormula ( ) : System.Boolean |
Add a formula when the user click Add button to new a formula
|
|
DeleteCombination ( int index ) : System.Boolean |
Delete the selected Load Combination
|
|
DeleteFormula ( int index ) : System.Boolean |
Delete the selected Load Formula
|
|
DeleteUsage ( int index ) : System.Boolean |
Delete the selected Load Usage
|
|
Execute ( ExternalCommandData commandData, string &message, Autodesk elements ) : Autodesk.Revit.UI.Result |
Implement this method as an external command for Revit.
|
|
Loads ( ) : System |
Default constructor of Loads
|
|
ModifyUsageName ( String oldName, String newName ) : System.Boolean |
Change usage name when the user modify it on the form
|
|
NewLoadCombination ( String name, int typeId, int stateId ) : System.Boolean |
Create new Load Combination
|
|
NewLoadUsage ( String usageName ) : System.Boolean |
Create a new load combination usage
|
Method | Description | |
---|---|---|
PrepareData ( ) : void |
Prepare the data for the form displaying.
|
public DeleteCombination ( int index ) : System.Boolean | ||
index | int | The selected index in the DataGridView |
return | System.Boolean |
public DeleteFormula ( int index ) : System.Boolean | ||
index | int | The selected index in the DataGridView |
return | System.Boolean |
public DeleteUsage ( int index ) : System.Boolean | ||
index | int | The selected index in the DataGridView |
return | System.Boolean |
public Execute ( ExternalCommandData commandData, string &message, Autodesk elements ) : Autodesk.Revit.UI.Result | ||
commandData | ExternalCommandData | An object that is passed to the external application /// which contains data related to the command, /// such as the application object and active view. |
message | string | A message that can be set by the external application /// which will be displayed if a failure or cancellation is returned by /// the external command. |
elements | Autodesk | A set of elements to which the external application /// can add elements that are to be highlighted in case of failure or cancellation. |
return | Autodesk.Revit.UI.Result |
public ModifyUsageName ( String oldName, String newName ) : System.Boolean | ||
oldName | String | The name before modification |
newName | String | The name after modification |
return | System.Boolean |
public NewLoadCombination ( String name, int typeId, int stateId ) : System.Boolean | ||
name | String | The new Load Combination name |
typeId | int | The index of new Load Combination Type |
stateId | int | The index of new Load Combination State |
return | System.Boolean |
public NewLoadUsage ( String usageName ) : System.Boolean | ||
usageName | String | The new Load Usage name |
return | System.Boolean |