Rocky Connect
rocky_connectConnect to Ansys Rocky by attaching to a running session or launching a new application, with optional executable path, version, and RPC port settings.
Instructions
Connect to Ansys Rocky.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exe | No | Explicit path to the Rocky executable. | |
| mode | No | ``"auto"`` attaches to a running Rocky session when one is listening and launches a new one otherwise, ``"launch"`` always starts a fresh Rocky application, and ``"attach"`` only connects to an existing one. | auto |
| port | No | Port for the PyRocky RPC server. Defaults to the server configuration. | |
| version | No | Ansys version code to launch, for example ``261`` for 2026 R1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||