Exporting and Importing Tracks in Neutral Format  

This task shows you to import and/or export track definitions in neutral format and how to use them.

Tracks may be exported in one of three formats:

  • .xml
  • a text format, which has a .fitting extension. The text file provides information on what object the track is associated with and a description of each recorded shot. If the track- associated object is a product or a shuttle, additional information also includes: file path or VPM identifiers to the associated parts, and relative position of parts to the shuttle axis.
  • .model.
Open the EXPORT_V5_TRACK.CATProduct document.

Exporting a Track

  1. Select Track.2 either in the specification tree or in the geometry area.

  2. Select  Tools > Simulation > Track File Export.

    The Save As dialog appears.
  3. Enter a meaningful name and select .xml from the Save as type list.

    You can also select .model or .fitting, if that is the format you want.
  4. Open the EXPORT_V5_TRACK.xml document in an internet browser.

    This is what you obtain:

Importing a Track

  1. Open the IMPORT_V5_TRACK.CATProduct document.

  2. Select  Tools > Simulation > Track File Import.

  3. Select  EXPORT_V5_TRACK.xml document in the samples folder.

    This is what you obtain.
These commands only import or export simple tracks.  Tracks which have been operated upon, using track operators, can be exported and imported, but the operations performed on the tracks are not part of the data.  The track operators are:
  • Reverse time
  • Join tracks
  • Split track
  • Mirror track
  • Transform
  • Path finder
  • Smooth
  • Swept volume

About XML

XML (Extensible Markup Language) is a standard format that can be used as a simple way to exchange data. The advantage of using this format to import and export tracks is two-fold:

  • Results and how the results are presented are two separate entities, so you can customize your own style sheet to present the results the way you want without impacting the results themselves.
  • XML makes documents smarter and more portable. You can for example export and publish the same results to a web browser as well as to your company database.
    Users may wish to buy commercially available XML processors to generate HTML pages that correspond to the XML file and style sheet.