Skip to content

CableTraySizeIterator

Public Class

An iterator to a set of MEP cable tray sizes from CableTraySizes.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Electrical.CableTraySizeIterator

Namespace: Autodesk.Revit.DB.Electrical

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class CableTraySizeIterator : IEnumerator<MEPSize>

The CableTraySizeIterator type exposes the following members.

Properties

Name

Description


Public Property
Current

Gets the item at the current position of the iterator.


Protected property


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method

Releases all resources used by the CableTraySizeIterator


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Returns the current MEPSize.


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
HasCurrent

Identifies if the iterator has a current item.


Public Method

Identifies if the iteration has completed.


Public Method

Increments the iterator to the next item.


Public Method

Resets the iterator to the initial state.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)