GENLIB_OUTLINE.3alc man page

GENLIB_OUTLINE — build an outline from the current layout cell

Synopsis

#include <genlib.h>
void GENLIB_OUTLINE();

Description

OUTLINE build a black box from a layout. After a call to OUTLINE, the figure has only its abutment box, its connectors, references and feed through.

Example

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_PHFIG("cell");
	/∗ Place an instance ∗/
	GENLIB_PLACE("model","i1", NOSYM,0L,0L);
	GENLIB_PLACE("model","i2", NOSYM,120L,40L);
	GENLIB_DEF_PHINS("i1");
	GENLIB_PLACE_TOP("model2", "i3", NOSYM);
	/∗ define the new abutment box as the standard envelop ∗/
	GENLIB_DEF_AB(0, 0, 0, 0);
	GENLIB_OUTLINE();
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_PHFIG();
}

See Also

genlib(1).

Info

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE