# 2.9.1 Car Inventory

This dialog is used to manage your list of cars and locomotives.

The main part of this dialog contains a detailed list of each car and locomotive in your inventory. The list can be sorted on different columns by selecting column names in the Sort Drop Down Lists along the top of the dialog. The width of the columns can be adjusted by Left+Drag on the lines between the column titles.

Cars are placed on the layout by using the Train Simulation (Section 2.9.7) command.

The Find button will center the Main Window (Section 3.1) on the selected car. This button is only enabled for cars which are on the Layout (indicated by Layout in the Location column). If the car on a track that is hidden and Trains on Hidden Track (Section 2.10.3) is set to Hide, then the car (and any attached cars) will be made visible.

The Edit button invokes the Car dialog (Section 2.9.1.1) to modify the selected car. This button is disabled if more than one (or no) car is selected or if the selected car is on the Layout. This dialog is also used to Add a new Car. Refer to Section A.3 if an error occurs when attempting to add inventory to this list.

The Delete button removes the selected cars from your inventory. This button is disabled if any of the selected cars are on the layout.

The Import and Export buttons read and write a Comma-Separated-Value (CSV) file. This file format can be read and written by many applications. It can be used to transfer car inventory data between different applications. This file contains the following columns (the first four are required when Importing):

  Scale - example: HO, HOn3, N, O etc

  Manufacturer and Partno

  Prototype - example: GP40

  Index - an unique numeric identifier (optional)

  Roadname, Repmark and Number - example: Burlington Northern, BN, 1234

  Type - enter one of the following:
  - 10101(Diesel),
  - 10201(Steam),
  - 10301(Electric),
  - 30100(Freight),
  - 50100(Passenger),
  - 70100(M-O-W) or;
  - 90100(Other)

  Options - 2 (Locomotives), 4 (Body Mounted Couplers)

  CarLength, CarWidth, CoupledLength and TruckCenter - car dimensions in inches

  Color - encoded as (Red * 65535 + Green * 256 + Blue)

  PurchPrice, CurrPrice, PurchDate and ServiceDate - numeric values

  Condition - enter one of the following:
  - 100(Mint),
  - 80(Excellent),
  - 60(Good),
  - 40(Fair),
  - 20(Poor) or;
  - 0(N/A)

  Notes - free form text

The List button creates a text file listing your inventory.

- 2.9.1.1 Car Item Dialog
- 2.9.1.2 Car Part Dialog
- 2.9.1.3 Car Prototype Dialog