#include <cx/DataAccess.h>cxConnection *cxConnDup(cxConnection *src)
integer function cxConnDup(src) integer src
cxConnDup is useful for creating a new pyramid that refers to lattices contained in another pyramid, but with slightly different connections. The lattices can be added to the new pyramid by reference, but the old connections are copied and then the distinct new connection values are set. Routines cxConnPtrSet and cxConnEleSet set the data values contained within a connection list. They are used to replace all or part of a connection list.
The newly formed connection list is a reference counted, shared memory object. Its reference count is set in cxConnDup and need not be changed before use.