SOLIDOS API - SolidosDisConnectNodes(upHandle, downHandle)
SolidosDisConnectNodes(upHandle, downHandle) - Disconnects a basin/device/sector from another basin/device/sector
- Input Parameters
- upHandle (Dynamo: String, Visual List: Entity Name) - the handle of the upstream basin/device/sector that will be connected to the downHandle. disconnected from the downstream basin/device/sector
- downHandle (Dynamo: String, Visual List: Entity Name) - the handle of the downstream basin/device/sector
- Output (string) - a text message stating:
- "OK" - successful connection
- "InProxyState" - Civil 3D is in the ProxyState state. in proxy mode (current version of Civil 3D incompatible with the saved version of the DWG, or it was opened as pure AutoCAD)
- "BadDisconnect" - they are not disconnectable
- Errors that may occur
- "InvalidUpHandle" - the handle of the upstream basin is invalid or is not of a contributing basin
- "InvalidDownHandle" - the handle of the downstream item is invalid or is not of a connectable item
Example of usage in Visual Lisp:
(setq device1 (handent "AD01")
device2 (handent "FC15"))
(setq msg (SolidosDisConnectNodes device1 device2))
;"Ok"
Example usage in Dynamo:
device1 = "AD01";
device2 = "FC15";
msg = SolidosDisConnectNodes(device1, device2);
#"Ok"