Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Plotting to a tiff in Catia V4 ? 1

Status
Not open for further replies.

rickyt

Automotive
Jun 26, 2002
233
US
Is it possible to plot to a tiff file larger than the screendump size? I Would like something that could be sent out at or near full scale. If this is possible what needs to be done?

 
Replies continue below

Recommended for you

Yes you can make tiff files from catia V4 Files using the plot function !
It runs like that :
/ ----------------------------------------------------------------------
/ HEADER BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_HEADER
/ ------------------------------------------- 10 CHARACTERS DEVICE NAME
*NAME TIFF
/ -------------------------------- 45 CHARACTERS PLOTTING PANEL COMMENT
*COM TIFF 200 DPI
*TYP PRINTER
*END_HEADER
/ ----------------------------------------------------------------------
/ PARAMETERS BLOCK DEFINITION
/ ---------------------------------------------------------------------
*BEGIN_PARAM
/ --------------PLOTTING KEYWORDS (REFER TO CATPUB REFERENCE MANUAL)
*EXPORT TIFF
*RDY 200
*END_PARAM
/ ----------------------------------------------------------------------
/ EXECUTION BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_EXEC
if [ -s $CATOUT ] then
# qprt -P lp0 $CATOUT
cat $CATOUT > $HOME/toprint
else
echo " the file $CATOUT doesn't exist , check your traces"
fi
*END_EXEC
/ ----------------------------------------------------------------------
/ RUN-TIME BLOCK DEFINITION

/ ----------------------------------------------------------------------
*BEGIN_RTIME
CATOUT=$HOME/catout.tif
export CATOUT
*END_RTIME

The $HOME/toprint is the .tif file in 200 DPI

Stan
 
I want to save the tiff file to another place than my home directory, and give the tiff file another name than catout. What changes this script needs so it will ask where you want to save the file and also ask the name of the file (like "save as")?
 
the plot cfg file as described above worked fine, it would generate a tiff file. The only problem I had was that I would never get an execution successful window and some syntax errors in the background window. I edited out a few lines in the Execution Block definition area.I no longer
get the syntax errors and I do get a execution successful window. Plot cfg file looks as such:

/ ----------------------------------------------------------------------
/ HEADER BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_HEADER
/ ------------------------------------------- 10 CHARACTERS DEVICE NAME
*NAME TIFF
/ -------------------------------- 45 CHARACTERS PLOTTING PANEL COMMENT
*COM TIFF 300 DPI
*TYP PRINTER
*END_HEADER
/ ----------------------------------------------------------------------
/ PARAMETERS BLOCK DEFINITION
/ ---------------------------------------------------------------------
*BEGIN_PARAM
/ --------------PLOTTING KEYWORDS (REFER TO CATPUB REFERENCE MANUAL)
*EXPORT TIFF
*RDY 300
*END_PARAM
/ ----------------------------------------------------------------------
/ EXECUTION BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_EXEC
cat $CATOUT > $HOME/toprint
*END_EXEC
/ ----------------------------------------------------------------------
/ RUN-TIME BLOCK DEFINITION

/ ----------------------------------------------------------------------
*BEGIN_RTIME
CATOUT=$HOME/catout.tif
export CATOUT
*END_RTIME
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top