---
name: "GENLIB_OUTLINE"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/GENLIB_OUTLINE"
---

# GENLIB\_OUTLINE(3)

build an outline from the current layout cell

## NAME

GENLIB\_OUTLINE - build an outline from the current layout cell

## SYNOPSYS

```
#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)](/genlib/1.md).
