WireSize
Represents specific electrical wire size information.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.Electrical.WireSize
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class WireSize : APIObject
The WireSize type exposes the following members.
Properties
Name
Description
Public Property
Ampacity
Get ampacity which be used for specifying size, the unit is ampere.
Public Property
Diameter
Get diameter of wire.
Public Property
InUse
Get or set whether the size can be used in sizing.
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public Property
Size
Get size symbol of wire.
Methods
Name
Description
Public Method
Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
Wire size is defined based on corresponding wire material type and temperature rating type.