GENLIB_LOAD_PHFIG.3alc man page

PHAD_PHFIG — loads a layout form disk and opens it as current figure

Synopsis

#include <genlib.h>
void GENLIB_LOAD_PHFIG(cellname)
char ∗cellname;

Parameters

cellname

Name of the cell which all futher calls to genlib layout functions will work on

Description

PHAD_PHFIG loads a physical view from disk and defines it as current working layout figure.  This overrides the working figure initialized by DEF_PHFIG(3), if any. So the next call to SAVE_PHFIG will save the cell called cellname.

Example

#include <genlib.h>
main()
{
	/∗ Loads the figure to work on  ∗/
	GENLIB_LOAD_PHFIG("cell");
	/∗ Add an instance in cell ∗/
	GENLIB_PLACE("model","instance", NOSYM, 200, 600);
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_PHFIG();
}

See Also

genlib(1), GENLIB_DEF_PHFIG(3). GENLIB_SAVE_PHFIG(3).

Info

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE