AMAPstudio

### Sidebar

The Capsis training online

Try to work with the helping elements before looking at the solution…

Helping elements

• Reminder: the project initialisation is done in two methods called in sequence: TraInitialParameters.buildInitScene(), then TraModel.initializeModel ()
• have a closer look in buildInitScene ()
• you will find a call to a loadInitStand () method
• this method (in TraModel) uses a file loader feature (TraInventoryLoader) in two passes:
• first pass in the constructor, relies on the superclass to turn the text file into a list of so called Records, not what we are looking for here
• second pass in load () to interpret the records and create the trees to be returned in the initial scene…
• …search in load(), something could be activated

A possible solution