PluginGetIntAttribute Method |
Gets the value of the specified int attribute of the plug-in.
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
Parameters
- FieldName
- Type: SystemString
The name of the attribute to get.
Return Value
Type: Int32The value of the attribute, or 0 if the plug-in does not have such an attribute.
| Exception | Condition |
|---|---|
| CannotGetAttributeForPluginException | Thrown when the getting of the attribute failed for an unknown reason (might indicate an invalid plug-in name). |
| CannotGetAttributeForPluginDueToIncorrectTypeException | Thrown when getting a value with an invalid type for the specified field. |
| CannotGetAttributeForPluginDueToInexistantFieldException | Thrown when getting the value of an inexistent field. |