Gets handles for the destination device and socket of a circuit.
PROCEDURE CC_GetCircuitDest(
hCircuit : HANDLE;
VAR hDevice : HANDLE;
VAR hDevSkt : HANDLE;
VAR hAdapter : HANDLE;
VAR hSocket : HANDLE);def vs.CC_GetCircuitDest(hCircuit):
return (hDevice, hDevSkt, hAdapter, hSocket)| Name | Type | Description |
|---|---|---|
| hCircuit | HANDLE | |
| hDevice | HANDLE | |
| hDevSkt | HANDLE | |
| hAdapter | HANDLE | |
| hSocket | HANDLE |
CC_GetCircuitDest(hCircuit, hDevice, hDevSkt, hAdapter, hSocket);import vs
# Gets handles for the destination device and socket of a circuit.
hCircuit = vs.FSActLayer() # handle to the first selected object on the active layer
hDevice, hDevSkt, hAdapter, hSocket = vs.CC_GetCircuitDest(hCircuit)
vs.Message('CC_GetCircuitDest returned: ' + str((hDevice, hDevSkt, hAdapter, hSocket)))Availability: from Vectorworks 2025