Share

CableSize Class

This class represents the definition of Cable Size data.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Electrical.CableSize


Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class CableSize : IDisposable

The CableSize type exposes the following members.

Properties

 NameDescription
Public propertyComments The comments of this Cable Size.
Public propertyGroundConductorSize The size of a Ground Conductor.
Public propertyHotConductorSize The size of a Hot Conductor.
Public propertyId The Cable Size id.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyName The name of this Cable Size.
Public propertyNeutralConductorSize The size of a Neutral Conductor.
Public propertyNumberOfGroundConductors The number of Ground Conductors.
Public propertyNumberOfHotConductors The number of Hot Conductors.
Public propertyNumberOfNeutralConductors The number of Neutral Conductors.
Public propertyNumberOfOtherConductors The number of Other Conductors.
Public propertyOtherConductorSize The size of an Other Conductor.

Methods

 NameDescription
Public methodStatic memberCreate Creates a Cable Size.
Public methodDisposeReleases all resources used by the CableSize
Public methodDuplicate Duplicates this Cable Size.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetCableSize Gets the Cable Size data by given Cable Size id.
Public methodStatic memberGetCableSizeIdByName Gets the Cable Size id by given Cable Size name.
Public methodStatic memberGetCableSizeIds Gets all the Cable Size ids in the given document, sorted by name.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?