Transformation scripts are imported into the iCS / ProjectWise environment using the Orchestration Framework Administrator.
While the transformation scripts produced on the desktop have value in and of themselves on the desktop, they acquire greater value after being imported into the iCS for i-models environment. Associating a transformation script with an iCS Job means a transformations can be scheduled to happen on a recurring basis and run incrementally. This will effectively monitor source files for changes. Source files that are out of date will get transformed into new target files, efficiently keeping source and transform target files in synch.
The general workflow for setting up i-model transformation jobs is as follows:
To import a script into an iCS job, on the iCS for i-models tab, enable Associate Transformation Template.
Select the Import… button to the right. A Select Template dialog will appear that allows you to browse on your local drive for the script. Select the desired script and then select Open. The Select Root Import Location dialog will appear.
Browse to the location in the ProjectWise data source where the script and associated files will be imported to and select OK. At this point, you will have the option to change the default locations in the Modify Default Import Locations dialog.
After you have set the import locations, select OK. The i-model Transformer dialog will appear. Each section of the transformation script can be selected and modified as necessary.
Once you have made the modifications, select Save. If not modifications are needed, select Close. Select OK, save the job, and test. The source i-models and other related files will be imported to the specified location in ProjectWise and a transformation template will be created.
When defining the input set, you can add existing i-models (either intermediate files or package files) or you can add the original CAD files. If you add a package to the input set, then all the job has to do is transform the package. If you add original CAD files, the job will first create any necessary intermediate and package files, and then transform and/or validate them as part of the same job.
To use the defined input set, edit the job and select Edit Parameters on the iCS for i-models tab.
In this example, changing the Target i-model Path on the second component to Input Set will apply the transformation on the files specified in the Input Files tab of the job.
For more information importing transformation scripts, refer to the Bentley Automation Service V8i (SELECTseries 6) Help located in C:\Program Files (x86)\Bentley\AutomationServices\help.