ElectricalSetting.RemoveWireMaterialType
Method
Description:
Remove the wire material type from project.
Remove the wire material type from project.
Parameters
| Parameter | Type | Description |
|---|---|---|
| materialType | WireMaterialType | The wire material type to be removed. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Wire material type can be removed only if it is not currently assigned to any wire type, and the last one wire material type can't be removed, otherwise an exception will be thrown. |