Méthode | Description | |
---|---|---|
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result |
Here is a part or our code to start a Revit command. The aim of the code is to set a wall type current in the Revit property window. We only start up the wall command with the API and let the user do the drawing of the wall. This solution can also be used to launch other Revit commands.
|
Méthode | Description | |
---|---|---|
GetFirstWallTypeNamed ( Document doc, string name ) : WallType |
Return the first wall type with the given name.
|
|
GetFirstWallUsingType ( Document doc, WallType wallType ) : Wall |
Return the first wall found that uses the given wall type.
|
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result | ||
commandData | ExternalCommandData | |
message | string | |
elements | ElementSet | |
Résultat | System.Result |