Method GetParameter
GetParameter(ElementExId, string)
Gets the parameter id of the first parameter with the given name. The name can be full, with all categories. This is the best way to find the correct parameter. It can also be only the simple name, with partial categories, or no categories at all. The first name found with the given argument is returned.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
ParameterId GetParameter(ElementExId inElementId, string inName)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inElementId | Owner of the parameter. |
| string | inName | Name of the parameter, with categories or not. |
Returns
| Type | Description |
|---|---|
| ParameterId | Found parameter id. |