# `AttachOptions.to`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`AttachOptions`](AttachOptions.md) · stable · since 2.0.0

```ts
to?: ConnectorRef | {
  node: string;
};
```

A connector (`{ node, connector }`: used at any distance), or a node (its best free connector).

**Default:** the best free connector of any other node

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `to` names no product |
| 2. A precedent | pass (through its owner [`AttachOptions`](AttachOptions.md)): [Onshape mate connectors](https://cad.onshape.com/help/Content/mate_connector.htm) (row `K63`) |
| 3. Two apps, or labs | pass (through its owner [`AttachOptions`](AttachOptions.md)): 5 apps (ledger: app-04c2774145, app-37356bf09f, app-4762caacdc, app-c1384707fc, app-f9a32142f1) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `K63` (through its owner [`AttachOptions`](AttachOptions.md)) at tier app, stable (a member only where no rule, data, asset or app code serves the need) |
