CableSignalSettingsCollection

A collection of cable signal settings.

Example

app = cf.GetApplication()
project = app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Cables.cfx]])

    -- Get an existing 'CableHarness' and 'CableInstance'

cableHarness = project.Cables.Harnesses["CableHarness1"]
cableInstance = cableHarness.CableInstances["Cable1"]

    -- Get the 'CableSignalSettings' of the 'CableInstance'

cableSignalSettings = cableInstance.Signals[1]

    -- Get the number of signals on the cable instance

count = cableInstance.Signals.Count

Usage locations (collections)

The following objects contain the CableSignalSettingsCollection collection:

Property List

Count
The number of CableSignalSettings items in the collection. (Read only number)

Method List

Item (index number)
Returns the CableSignalSettings at the given index. (Returns a CableSignalSettings object.)

Index List

[number]
Returns the CableSignalSettings at the given index in the collection. (Read CableSignalSettings)

Property Details

Count
The number of CableSignalSettings items in the collection.
Type
number
Access
Read only

Method Details

Item (index number)
Returns the CableSignalSettings at the given index.
Input Parameters
index(number)
The index of the CableSignalSettings.
Return
CableSignalSettings
The CableSignalSettings at the given index.