SchematicCollection
A collection of schematic views.
Example
app = cf.GetApplication() project = app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Cables.cfx]]) -- Show the cable schematic for the first cable harness app.Schematics:ShowCableSchematic(project.Cables.Harnesses[1]) -- Show the network schematic app.Schematics:ShowNetworkSchematic()
Usage locations (collections)
The following objects contain the SchematicCollection collection:
Property List
Method List
- Contains (label string)
- Checks if the collection contains an item with the given label. (Returns a boolean object.)
- Item (index number)
- Returns the Schematic at the given index. (Returns a Schematic object.)
- Item (label string)
- Returns the Schematic with the given label. (Returns a Schematic object.)
- Items ()
- Returns a table of Schematic. (Returns a List of Schematic object.)
- ShowCableSchematic (cableharness CableHarness)
- Show the cable schematic view for the specified cable harness.
- ShowNetworkSchematic ()
- Show the network schematic view.
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated. (Returns a boolean object.)
Index List
Property Details
Method Details
- Contains (label string)
- Checks if the collection contains an item with the given label.
- Item (index number)
- Returns the Schematic at the given index.
- Item (label string)
- Returns the Schematic with the given label.
- Items ()
- Returns a table of Schematic.
- ShowCableSchematic (cableharness CableHarness)
- Show the cable schematic view for the specified cable harness.
- Input Parameters
- cableharness(CableHarness)
- The cable harness.
- ShowNetworkSchematic ()
- Show the network schematic view.
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated.