Performance Considerations for Dynamic Visualization
Optimizing Representations for Dynamic Visualization
To take advantage of the performance benefits of the WVS property edrload.dynamiccadstructure.donotreadpvs in the wvs.properties file when loading dynamic structures with updated or upgraded data, use the Representation Update Utility to specify the geometry file name in the legacy representation, if it contains a single level part. This updates the representation’s OLFILENAME value in the database without republishing the part.
Run this utility from the Windchill command shell as a site administrator level using the command
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
The Representation Update Utility includes the following options.
-container—Choose one or more containers from which to gather the representations. Containers can be a library, project, or organization in the form of an ID, path, or site parameter. If no containers are chosen, the process can take a long time.
-history—Choose how much of an object’s history to process. Specify history for each container or for the whole query.
1 All iterations—Processes all iterations
2 Latest only iterations—Processes only the latest iterations (the default setting)
3 Latest iteration for each revision—Processes the latest iterations of each revision
All input representations are rendered in batches as per the batch size. Representations with NULL olFileName value are processed. Representations without NULL olFileName value (new or already republished) are not processed.
List of Commands for the Representation Update Utility:
For more information on parameters and possible values, use the help command:
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility -h | -help
Command with single container, see two examples below:
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
containerOID <container_oid>
or
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
CONT_PATH <container_path>
Command with multiple containers, see two examples below:
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
containerOID <container_oid1> -containerOID <container_oid2>
or
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
CONT_PATH <container_path1> -CONT_PATH <container_path2>
Command with site;
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility -site
Example: Sample command:
windchill com.ptc.wvs.server.util.olfilename.RepOlFileNameUpdateUtility
-u <usename> -p <password> -containerOID OR:wt.pdmlink.PDMLinkProduct:78523
-iterations 1 -batchsize 10 -threadcount 5 -threadtimeout 10
-threadtimeoutunit MINUTES -timebox 6 -timeboxunit HOURS -quiet
After completing the Representation Update Utility program, the following output items are printed in the shell terminal:
Output
Description
Processing of updating representations completed.
Total execution time to perform processing : 0.767 second(s)
Total time of all threads to process fetched representations
Number of representations successfully updated : 10
Numberof representations updated successfully, that is, where olFileName value is set to “MULTI”, “NONE”, or “any value” (other than NULL.)
Number of representations processed : 306
Total number of representations fetched as per the given criteria.
Number of representations failed to update : 0
Number of representations with failed update processes.
Number of representations skipped to update : 296
Number of representations excluded from the update process in these cases:
olFileName value is not NULL because the representation is either new or has already been republished.
olFileName value is NULL, but after processing the new value is again NULL, so NO value change.
Number of failed threads : 0
Number of timed out threads : 0
* 
The Representation Update Utility is shipped in the Windchill 11.1 M020 release. You can open a CPS request to backport it to Windchill 11.1 M010.
Isto foi útil?