Table of Contents

Name

savephfig - save a physical figure on disk

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Synopsys

#include mph403.h"
void savephfig(ptfig)
phfig_list *ptfig;

Parameter

ptfig
Pointer to the phfig to write on disk

Description

savephfig writes on disk the contents of the figure pointer to by ptfig. All the figure lists are ran through, and the appropriate objects written, independently of the figure mode.
The savephfig function in fact performs a call to a driver, choosen by the MBK_OUT_PH(1) environment variable. The directory in which the file is to be written is the one set by MBK_WORK_LIB(1) . See MBK_OUT_PH(1) , MBK_WORK_LIB(1) and mbkenv(3) for details.

Errors

*** mbk error *** not supported physical output format `xxx'" The environment variable MBK_OUT_PH is not set to a legal physical format.
*** mbk error *** savephfig : could not open file figname.ext" Either the directory or the file are write protected, so it's not possible to open figname.ext, where ext is the file format extension, for writting.

Example

#include mph403.h"
void save_na2_y()
{
savephfig(getphfig("na2_y"));
}

See Also

mbk(1) , mbkenv(3) , phfig(3) , addphfig(3) , getphfig(3) , delphfig(3) , loadphfig(3) , flattenphfig(3) , rflattenphfig(3) , MBK_OUT_PH(1) , MBK_WORK_LIB(1) .

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.