Launching the Bulk Build Utility
The bulk build utility is designed to run in the background (ideally, in off hours) on a Windchill 11.0 or greater server.
Expectations and Requirements
• The utility must be executed by a single user as the build part structure depends on user permissions.
• The input must be a comma-separated (.csv) file containing a list of
Windchill parts or CAD documents as the source that are currently checked out. For more information, see
Preparing the Bulk Build Input File
• The utility always builds the latest iteration of a Windchill a part. There are no options to modify or rebuild non-latest part iterations.
• Multi-threading is not used to build Windchill parts. However, you can launch the utility in several different windows to process different subsets of Windchill parts or CAD documents.
You launch the bulk build utility by executing the following command from a Windchill shell.
windchill wt.epm.util.massbuild.BulkPartBuild user password [-document|-part]
filePath [validateOnly] [recreate] [-s batchSize] [-n noOfBatches]
Where:
• user = a valid username
• password = a valid password
• -document|-part = whether the input file contains EPMDocuments or WTParts that need to be built. The input file must not contain a mix of both EPMDocument and WTParts.
• filePath = the full path to input file
• validateOnly = an optional flag. If included, the utility performs a validation pass and exits. If this flag is set, input level validations as well as functional level validations are performed on the Windchill parts or CAD documents in the input file.
• recreate = an optional flag. If included, the utility removes the existing Windchill part structure and recreates it. If the validateOnly flag is set, this flag is ignored.
• -s batchSize = an optional flag. If included, the utility sets the number of objects to be processed in the batch (the batch size) using the specified value. If not included, the default value is 1000.
• -n noOfBatches = an optional flag. If included, the utility sets the maximum number of batches the utility can process before building the objects. If not included, the default value is 100.