Our 3D CAD supplier models have been moved to 3Dfindit.com, the new visual search engine for 3D CAD, CAE & BIM models.
You can log in there with your existing account of this site.
The content remains free of charge.
The actual
actions run within a dll file. This is loaded per vbb script and therefore
the corresponding function is started. In order to start classimport.vbb
, the file is
transferred to the CADENAS script host.
The application occurs via the command line.
You can assign
special parameters to the launch. Either also via the command line or via
declaration in the configuration file under $CADENAS_SETUP/classimport.cfg
.
Obligatory launch parameters via the command line are as follows:
An exemplary launch per command line can be seen below:
%CADENAS%\bin\x86\32\cscripthost.exe %cadenas_setup%\scripts\common\classimport.vbb -mode new -logfile c:\import\logfile.txt -user erpuser -pwd erpuser
Launch via the command line | Launch via the configuration file classimport.cfg | |||||
[CLASSIMPORT] NATIVETYPE=STLFILE
|
||||||
-categoryname cat
|
[CLASSIMPORT] CATEGORYNAME=cat
|
For "cat" the catalog shows up under "Catalogs". For "nat" under "Own parts".[a]
|
||||
-classname example
|
[CLASSIMPORT] CLASSNAME=example
|
|||||
-classdesc "Own Parts"
|
[CLASSIMPORT] CLASSDESC=Own Parts
|
For "nativeparts" in the category "nat", the value is ignored. |
||||
-classbmp c:\import\catalog.bmp
|
[CLASSIMPORT] CLASSBMP=C:\import\catalog.bmp
|
For "nativeparts" in the category "nat", the value is ignored. |
||||
[CLASSIMPORT] UNIT=mm
|
You can now indicate which unit the imported STLs have.[b] |
|||||
[a] Up to now, parts were only able to be imported into the "Catalogs" category. With V9, you can now also import into the category "My parts". [b] as of V9.02 |
Launch via the command line | Launch via the configuration file classimport.cfg | Description |
-klvkn c:\import\ classstruct.txt
|
[CSV_ClassStructure] FILE=c:\import\ classstruct.txt SEP=; QUOTE=" COLWIDTH=
|
The file
|
-klast c:\import\classdef.txt
|
[CSV_ClassDefinition] FILE=c:\import\classdef.txt SEP=; QUOTE=" COLWIDTH=
|
The
file classdef.txt contains the
class names in different languages. |
-auspr c:\import\ attributedata.txt
|
[CSV_AttributeData] FILE=c:\import\ attributedata.txt SEP=; QUOTE=" COLWIDTH=
|
|
-merkst c:\import\ attributedef.txt
|
[CSV_AttributeDefinition] FILE=c:\import\ attributedef.txt SEP=; QUOTE=" COLWIDTH=
|
The file
|
-matnr c:\import\erpdata.txt
|
[CSV_ErpData] FILE=c:\import\erpdata.txt SEP=; QUOTE=" COLWIDTH=
|
The file
|
-delmat c:\import\delmat.txt
|
[CSV_DELMAT] FILE=c:\import\delmat.txt SEP=; QUOTE="
|
|
-prjtable c:\import\ prjtable.txt
|
[CSV_PrjTable] FILE=C:\import\prjtable.txt SEP=; QUOTE=" COLWIDTH=
|
Te file
|
-imagelist c:\import\ filelist.txt
|
[CSV_ImageImport] FILE=C:\import\filelist.txt SEP=; QUOTE="
|
Use the file
See Section 2.1.5.6, “Image import - filelist.txt ”. When importing via the command line,
please also not the information in the configuration file
under |
Launch via the command line | Launch via the configuration file classimport.cfg | Description |
-logfile c:\import\logfile.txt
|
The output of a log file is helpful in examining problem cases. |
|
-errfile c:\import\ errorfile.txt
|
Only error messages are issued. | |
-user erpuser
|
Needed for LinkDB linking in order to import data into the database. |
|
-pwd erpuser
|
Needed for LinkDB linking in order to import data into the database. Password of the database user. |
|
-languages german,english
|
[CLASSIMPORT] LANGUAGES=german,english
|
If LANGUAGES are set, the language dependant columns must be available in the text files. (KLBEZ_german, KLBEZ_english, etc. See Section 2.1.5.3, “Visible class name - classdef.txt ”) |
-languagesforvalues german,english
|
[CLASSIMPORT] LANGUAGESFORVALUES= german,english
|
Languages for attribute values: If LANGUAGESFORVALUES is set, then the
language dependant columns must be available respectively in the
(VALDESC_german, VALDESC_english, etc. See Section 2.1.5.5.3.1, “Translatable text attributes”) |
-nofastsearch
|
||
-nogeomsearch
|
||
-noindexupdate
|
|
|
[CLASSIMPORT] CLUSTERUPDATE=0/1 |
0: For changes in the Classimporter toolbar, no cluster update is performed. This allows you to work faster, but the cluster search (complex, geometric search) is no longer accurate.[a] |
|
[CLASSIMPORT] TEMPMODE=0/1 |
For changes via the Classimporter toolbar, a temporary directory is applied first. If all changes were successful, the content is transferred. Should an error occur in the meantime, no changes are transferred and the old status remains. This is the recommended way for productive environments. If the value is set to '0' the wait time between the individual changed steps is less. |
|
[CLASSIMPORT] CHECKFILES=1
|
The prj, pol and tab files can be checked after import. In case these are defect or incomplete, an error message will be written in the log file: "File <...> is incomplete or corrupt." |
|
[CLASSIMPORT] DELETEPOOLFILES=0
|
DELETEPOOLFILES is effective when structure with effects on data is changed, (e.g. when a class is deleted) If, in the import file "classstruct.txt", the column "MODE" uses the value "del", the corresponding directory will be deleted from the 23dlibs directory.
Is set DELETEPOOLFILES=1 additionally, then the pool files are also deleted. More details are found under Section 2.1.5.2, “Class tree - classstruct.txt ”. |
|
[CLASSIMPORT] LICKEY=%basekey%* CATALOGSADDITIONAL*%catname%
|
||
-synconlyfolder klassenname
|
The importing of data cannot be limited to one specific branch of the class or directory tree. Enter the desired class name here. |
|
[CLASSIMPORT] NOTSYNCHFOLDER |
For "- mode new", normally all possible existing folders of the catalog are deleted and reassembled. Exceptions are those folders which are declared under NOTSYNCHFOLDER. |
|
[CLASSIMPORT] USESHORTDIRNAME=1
|
In some cases, the class names correspond to the directory setup (paths). In this case, during import into the 23dlibs directory, very long directory names would be generated. In order to avoid this, activating USESHORTDIRNAME is useful in this case. See under Section 2.1.5.2.1, “Special case: Class names correspond to directory structure”. |
|
[a] As of 9.02 this parameter no longer has any affect. |