By default the Windchill CAD worker will attempt to publish all EPMDocuments regardless of whether the EPMDocument is a part, drawing, manufacturing assembly, skeleton, etc.
Due to the extensible nature of Windchill, you can control Continue reading
There’s an option within Windchill PDMLink to automatically publish lightweight viewable files for Creo View each time an item is checked in. All publishing is handled behind the scenes Continue reading
This morning brought a new challenge — creating a compressed zip file of a directory from within an existing Java program for archival purposes.
Rather than installing a 3rd party program like 7Zip, this code needed to be Continue reading
I was working on another batch file today and needed a way for the script to wait for a given number of seconds before continuing to execute. On a whim, I tried the wait command by adding “wait 30“, thinking the script would wait at that spot for 30 seconds before continuing.
The script did wait for 30 seconds, but instead of continuing to execute, it simply Continue reading
I was working on a startup script this morning and needed a way for the script to kill one process before starting up a new process. I’ve used pskill.exe in the past, but wanted to find out if there were any built-in tools in Windows 7 before resorting to Sysinternals components.
It just so happens that Continue reading
This is a coding technique that can help reduce the number of NullPointerExceptions that you need to deal with without resorting to checking for null Strings every time you compare literal values.
This is the way we’re taught to Continue reading
There are lots of websites that explain the pros and cons to using XML vs. JSON so I won’t go into that here. Rather, I’ll give a brief but complete example of how to Continue reading
PTC includes a useful shell script in the Windchill/bin folder named InfoReport.sh (Unix) or InfoReport.bat (Windows) that can be used to learn about the internal fields and methods of various Windchill objects.
The script uses introspection to interrogate a Java class and create a text file report containing Continue reading
In this example we want to change which suppliers can be selected if the type of export is DRW. If any type of export is chosen other than DRW, then one set of suppliers will be Continue reading