Round Checker Utility
|
Location
|
Main Class
|
|
<creo_jlink_loadpoint>/jlink_appls/jlink_elev
|
com.ptc.jlinkdemo.round.RoundChecker
|
The round checker example demonstrates a synchronous Creo Object TOOLKIT Java utility that monitors the values assigned to round dimensions. If the value of any modified or newly created round is reduced below a programmed limit, a Creo Object TOOLKIT Java user interface will appear with information about the violation.
Use the following steps to setup and run the example:
1. Set the path and CLASSPATH variables to include the Java Development Kit as described in (link).
2. Set the CLASSPATH to include the jlink_elev directory and the Creo Object TOOLKIT Java synchronous Jar file (otk.jar).
3. Compile the code.
On Windows, execute the batch file compile.bat.
4. Load any Creo+ model with rounds. Modify the round to less than 0.5. A Creo Object TOOLKIT Java dialog that identifies the problem will be displayed. The same dialog will appear if a new round that does not adhere to the specified dimensions is created.