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.
For complex installations with several users and ERP integration a daily automated update of the pre-calculation file is recommended.
To this use the
script under %CADENAS_SETUP%/scripts/common/pcon_update.vbb
.
![]() |
Note |
---|---|
Notes on use can be detected via command line: "%cadenas%\bin\x86\32\cscripthost.exe" "%cadenas_setup%\scripts\common\pcon_update.vbb" -?
|
The necessary
process can be executed on every server, which is capable to run
PARTsolutions, by starting a scheduled task with the following command
line (recommendation once a day, at one o'clock in the morning). The
combination of the scripts for nightly update
nightupdate.vbb
(compare Section 4.14.3.3, “Automated and
cyclical update of data
”) and connections
pre-calculation file makes sense.
Rem First nightly update "%cadenas%\bin\x86\32\cscripthost.exe" "%cadenas_setup%\scripts\erp\nightupdate.vbb" -user Rem Afterwards connections pre-calculation file (*.sf) "%cadenas%\bin\x86\32\cscripthost.exe" "%cadenas_setup%\scripts\common\pcon_update.vbb" -user *
Thereby, at the latest one working day after the assignment, the display (especially colors) in PARTdataManager, in the dialog area Connection is adjusted. A detailed description with examples is found under Section 3.1.12.5.1, “Create and edit ERP connections ” in PARTsolutions / PARTcommunity4Enterprise - User manual.
In the following the needed call parameters are explained (with examples).
-user |
Define a user name, which shall be used for the database login.
|
||||
-pwd | Define the user password for the database login. | ||||
-group | Define the user group (role). |
Update of the pre-calculation file with ERP information.
Use active database login or manually log in with the stated data.
CSCRIPTHOST.EXE PCON_UPDATE.VB -user erpuser -pwd erpuser -group admin
Update of the pre-calculation file with ERP information.
Use active database login or log in with the stated user.
If only "-user" is stated, then there has to be configured an automated login for the stated user!
CSCRIPTHOST.EXE PCON_UPDATE.VB -user erpuser
Update of the pre-calculation file with ERP information.
Ignore active database login and instead manually log in with an automated login.
CSCRIPTHOST.EXE PCON_UPDATE.VB -i