GENLIB_LOAD_PHFIG.3alc - Man Page
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
Info
ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE