flexsim_disconnect_objects
Disconnect two FlexSim objects by removing flow output-to-input or resource central links, and optionally verify the post-disconnect state.
Instructions
Disconnect two objects (window backend only).
Uses contextdragconnection with the DISCONNECT keys from the official command
reference (FlexSim 2026 help/CommandReference/Commands.xml, defaultdragconnection
entry): 'Q' disconnects output->input ports (flow), 'W' disconnects central
ports (resource). There is NO objectdisconnect command in FlexSim 2026 (verified
in Commands.xml and live: it returns 0 and changes nothing).
NOTE: connects ACCUMULATE (each connect adds a parallel link), so disconnect
all matches before reconnecting.
flow verifica que target ya no esta en outObjects de source; resource verifica
que target ya no esta en centerObjects de source. Devuelve OK/FAIL con estado post.
Args:
source: origin (or requester for resource).
target: destination (or resource for resource).
kind: flow or resource.
verify: check outObjects (flow) or centerObjects (resource).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |