Attach/detach an element to a list of elements by a given bit and simultaneously attach/detach the elements of the list to an element by another given bit.

Call:

int err = ac_request_special("linkingElems", "uplinkBiWardByFlags", int iGuid, int bitvalue_from_to, bool bFromToOn, int bitvalue_to_from, bToFromOn, int iTableGuids);


Here:

iGuid - a handle to an object of type ts_guid containing the guid of the element to be linked/unlinked to/from the list of elements.

bitvalue_from_to - an integer that specifies in binary form which bits of the link from the element to the elements of the list specified in the iTableGuids table should be set (for bToFromOn==true) or removed (for bFromToOn==false).

bitvalue_to_from - an integer that specifies in binary form which bits of the link from the elements of the list specified in the iTableGuids table to the iGuid element should be set (for bFromToOn==true) or removed (for bToFromOn==false);

iTableGuids - a handle to an object of type ts_table that contains the text guids of the elements to bind/unbind.