powered by CADENAS

Manual

Manual

2.1.5.6.1. General settings

The general settings indicated below concern the blocks [STLIMPORT], [PREVIEWIMPORT] and [VIEWIMPORT] equally.

  • Reference to the imported files

    The reference can either be given directly with the key "PATH" or, in the section "CSV_ImageImport", you refer to the file filelist.txt, which contains the path specification.

    1. Direct path specification in the configuration file

      [STLIMPORT / PREVIEWIMPORT / VIEWIMPORT]
      PATH=\\someserver\bmpDir bzw.
      PATH1=\\someserver\bmpDir

      Assign the path to the import file.

    2. Reference to filelist.txt

      If, in the configuration file under $CADENAS/classimport.cfg in the section "CSV_ImageImport" you refer to your own definition file (filelist.txt) and the paths are specified there, the specification under "PATH" and/or "PATH1" is not needed.

      Example for import via "filelist.txt" file

      If you are using OnVariant, as well as OnClass, it is best to apply two areas in the text file filelist.txt as shown in the image.

      filelist.txt

      filelist.txt

  • Default STL file

    If no STL file is found, the default file is used.

    DEFAULTFILE=C:/import/default.stl

  • Delete original files in the input directory after import

    [STLIMPORT / PREVIEWIMPORT / VIEWIMPORT]
    delInput1=0/1

    For value = '1' the original files in the input directory are deleted according to the batch.

  • Name assignment and/or convention

    [STLIMPORT / PREVIEWIMPORT / VIEWIMPORT]
    NAMEINPUT1=%name%.bmp

    Here the names of the files in the input directory are determined:

    [Note] Note

    This entry is only then necessary if you are not working with the image import file filelist.txt. There, the material numbers and class names are connected with the files to be imported.

    If the file names are unknown, the naming must comply to the following convention:

    • When importing with "OnClass" the file name must comply with the respective "CLASSNAME".

    • When importing with "OnVariant" the file name must comply with the respective "MATNR".

    %name% is replaced by the class name and/or the ERP number.

  • File names in pool directory

    [STLIMPORT / PREVIEWIMPORT / VIEWIMPORT]
    NAMEPOOL1=%name%_view1.bmp

    Here the file name in the pool directory ($CADENAS_DATA\pool\insertpool\23d-natives\nativepool\STLFILE\) is defined:

    %name% is replaced by the class name and/or the ERP number.

    [Important] Important

    Make sure that the specification in the configuration file classimport.cfg matches the file endings.

    Should pra files be imported, for example, the entry must be adjusted accordingly.

    [VIEWIMPORT]
    NAMEPOOL1=%name%_view1.pra (bzw bmp, tif, jpg)