GENLIB_DEF_PHFIG.3alc - Man Page

open a layout model as current figure

Synopsis

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

Parameters

cellname

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

Description

DEF_PHFIG defines the current physical working figure by it's name,  the cellname argument. It can be use anywhere in the genlib  program, but must appear at least once at the top of it, since it also  initialize the user's preferences through environment variables.
If the figure called cellname doesn't exists in memory, it is created.  If it already exists in memory, it makes it the current working figure.  DEF_PHFIG doesn't look on disk for the figure cellname,  so be careful not to overwrite an existing file while saving later on.

Example

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_PHFIG("mycell");
	/∗ Place an instance ∗/
	GENLIB_PLACE("mymodel","firstinstance", NOSYM,0L,0L);
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_PHFIG();
}

See Also

genlib(1), GENLIB_DEF_PHSC(3).

Referenced By

genlib.1alc(1), GENLIB_COPY_UP_ALL_CON.3alc(3), GENLIB_COPY_UP_ALL_REF.3alc(3), GENLIB_COPY_UP_CON.3alc(3), GENLIB_COPY_UP_CON_FACE.3alc(3), GENLIB_COPY_UP_REF.3alc(3), GENLIB_COPY_UP_SEG.3alc(3), GENLIB_GET_CON_X.3alc(3), GENLIB_GET_CON_Y.3alc(3), GENLIB_GET_INS_X.3alc(3), GENLIB_GET_INS_Y.3alc(3), GENLIB_GET_REF_X.3alc(3), GENLIB_GET_REF_Y.3alc(3), GENLIB_LOAD_PHFIG.3alc(3), GENLIB_PHCON.3alc(3), GENLIB_PHREF.3alc(3), GENLIB_PHSEG.3alc(3), GENLIB_PHVIA.3alc(3), GENLIB_PLACE.3alc(3), GENLIB_PLACE_BOTTOM.3alc(3), GENLIB_PLACE_CON_REF.3alc(3), GENLIB_PLACE_LEFT.3alc(3), GENLIB_PLACE_ON.3alc(3), GENLIB_PLACE_RIGHT.3alc(3), GENLIB_PLACE_SEG_REF.3alc(3), GENLIB_PLACE_TOP.3alc(3), GENLIB_PLACE_VIA_REF.3alc(3), GENLIB_WIRE1.3alc(3), GENLIB_WIRE2.3alc(3), GENLIB_WIRE3.3alc(3).

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE