GENLIB_PLACE
place a physical instance in the current figure at absolute coordinates
- Provided by: alliance (Version: 5.1.1-1.1)
- Report a bug
place a physical instance in the current figure at absolute coordinates
#include <genlib.h> void GENLIB_PLACE(modelname, insname, symetry, x, y) char ∗modelname, ∗insname; char symetry; long x,y;
See the file man1/alc_origin.1.
PLACE add an instance in the current layout cell. The
bottom left corner of the instance of the model modelname is placed,
after beeing symetrized and/or rotated, at (x, y) coordinates. The
placed instance becomes the new "reference instance", used in the
relative placement functions.
The insname is the name given to the instance and must be unique at a
given hierarchy level.
The symetry argument can take eight legal values :
The model of the figure to be placed must be available, on disk or in memory. The path to the library is specified in the MBK_CATA_LIB (1) and MBK_WORK_LIB (1) environment variables, and its format is given by the MBK_IN_PH (1) environment variable.
"GENLIB_PLACE impossible : missing GENLIB_DEF_PHFIG"
#include <genlib.h>
main()
{
/∗ Create a figure to work on ∗/
GENLIB_DEF_PHFIG("cell");
/∗ Place two instances ∗/
GENLIB_PLACE("gapg0_b","ins1", NOSYM, 0L, 0L);
GENLIB_PLACE("gapg8_b","ins2", SYM_X, 80L, 100L);
/∗ Save all that on disk ∗/
GENLIB_SAVE_PHFIG();
}
genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3), GENLIB_PLACE_TOP(3), GENLIB_PLACE_BOTTOM(3), GENLIB_PLACE_LEFT(3), GENLIB_PLACE_RIGHT(3), MBK_CATA_LIB(1), MBK_WORK_LIB(1), MBK_IN_PH(1).
See the file man1/alc_bug_report.1.