See also entry in DESCRIPTION file
Usage: pro_scrsave [options] [file]
pro_scrsave creates an image of the current Pro/E window.
By default it uses the scrsave utility, but with the -d option
it used the xwd to create a X window screen dump.
options: -h => this help screen
-b => Include the window border
-d => Make screen dump instead of scrsave
-n => figure out current model name
uses: objname_from_inf
-2 => R20+ version
if no file is given a file proe_screen_image.rgb.n is created
where n will be the highest number in the current directory
NOTE1: If you are calling this script to create a series of images
which will be compiled into a movie you could consider
reducing the size of the Pro/E window. This can be done
manually, but if you call this script through a trail
file automatically you can make your screen small by
putting a model into the main Pro/E screen and opening
the model you are animating in a second Pro/E screen.
Don't forget to turn off your datums, tolerance
display and spin center in your environment.
NOTE2: This is a screen capture tool, so overlapping windows
will also be captured.
Author: Olaf Corten, the Netherlands
E-Mail: olafc@molding.fico.nl or ocorten@knoware.nl
################################################################################
# History:
#
# 19990715: Added filter for message window
# 19990219: Changed SCRIPTS_DIR extraction.
# 19980819: Added R20 option.
# 19980526: Fixed '@ expression syntax' bug when using the -n option.
# 19980506: Fixed not finding screen when '****' is not present.
# 19980427: Fixed bug. Kept looking for window ID.
# 19980305: Fixed bug: crash after: xwininfo No such window id ... (forgot wc -l).
# 19971027: added grep ProEngineer te ensure to catch the main Pro/E screen.
# 19970228: Decreased x2 and y2 values one pixel otherwise a black line is added
# at the top and the right side of the image
# 19970226: Fixed increase of numerical extension
# 19970206: Added -n option. Fixed bug for not finding screen ID when running without
# window manager. Fixed No Match error.
# 19961122: LS_COMMAND decide added (fix for non-SGI users)
# 19960905: Fixed bug: Could not find a Pro/E screen (5 stars vs. 6 stars in header)
# first version februari 1996
#
################################################################################
|