User Tools

Site Tools


 Index - Previous - Next

9.1 Indexing of VEC Package


This example explains how more than one VEC file can be packaged together with external documents, for example symbols of the specified components. In this case the VEC shall be packed within an archive together with the external documents (according to the current published VEC recommendation) and an index file has to be provided.

The upper half of the diagram illustrates the file structure within the archive. In the root there is a 'index.vec' file that describes the content of the archive. The simplified content of this index file is illustrated in the lower half of the diagram.

For the example, the archive consists of following files:

  • index.vec: Describes the content of the archive.
  • A harness with the part number 4811 specified by a VEC-File (4811_a.vec) and a 2D SVG representation of the harness (4811_a.svg).
  • A component description of connector housing (part number: 4711) specified with a VEC-File (4711_a.vec) and component symbol (to be used in the 2D-drawing) defined with a SVG-Symbol (4711_a.svg).

In the VEC (especially in the index.vec) a DocumentVersion object is created for each external document (see lower half of the diagram). This DocumentVersion object references the PartVersion to which it is related. Beside all meta information about the document, the attribute dataFormat of the DocumentVersion specifies the format of the external document as a MIME-Type. The attribute fileName is a path relative to VEC-File pointing to the external document in the archive

Index - Previous - Next

tutorials/vec_v1_1_0/documentation/9_1_indexing_of_vec_package.txt · Last modified: 2014/10/29 16:44 (external edit)