|
NAMEGENLIB_COPY_UP_CON_FACE - copy a physical connector from an instance in the current figure SYNOPSIS#include <genlib.h> void GENLIB_COPY_UP_CON_FACE(face, conname, insname, newname) long index; char ∗insname; char ∗conname; char ∗newname; See the file man1/alc_origin.1. PARAMETERSDESCRIPTIONCOPY_UP_CON_FACE copies a instance connector into the
current layout figure, and gives to the new connector the name
newname. The face and conname arguments are not
suffiscient for non ambiguiously identify a single connector. So, if more
than one connector matches these arguments, the behaviour described below is
applied on all of them.
ERRORS"GENLIB_COPY_UP_CON_FACE impossible : missing GENLIB_DEF_PHFIG" No figure has been yet specified by a call to
DEF_PHFIG. So it isn't possible to place a connector inside it. you
must call DEF_PHFIG before any other layout action.
"*** genlib error *** GENLIB_COPY_UP_CON_FACE impossible : connector
conname face face of instance
insname, current figure doesn't exist"
No connector matches both the conname and the
face arguments.
EXAMPLE
#include <genlib.h>
main()
{
/∗ Create a figure to work on ∗/
GENLIB_DEF_PHFIG("cell");
.
.
GENLIB_PLACE_LEFT("gaer0_f", "insN", SYMXY);
.
.
GENLIB_DEF_AB(0L, 0L, 0L, 0L);
/∗ Put a connector ∗/
GENLIB_COPY_UP_CON_FACE("i0", 1, "insN", "inz0");
/∗ Save that on disk ∗/
GENLIB_SAVE_PHFIG();
}
SEE ALSOgenlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3), GENLIB_COPY_UP_ALL_CON(3), GENLIB_COPY_UP_CON(3), GENLIB_PHCON(3), GENLIB_THRU_CON_H(3), GENLIB_THRU_CON_V(3). See the file man1/alc_bug_report.1.
|