flexsim_attach_resource
Attach a resource to a requester in the FlexSim window backend, choosing exclusive or shared mode and optionally verifying the connection.
Instructions
Attach a resource to a requester (window backend only).
Runs contextdragconnection(requester, resource, "S") and checks the last
centerObjects entry. With mode=shared the same resource feeds N requesters
(exclusivity is not enforced, only reported).
Args:
requester: object asking for the resource (e.g. Processor1).
resource: resource object (e.g. Operator1).
mode: exclusive or shared (default exclusive).
verify: check centerObjects (default True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |