assembly_faces
Find component faces anywhere in an assembly, including sub-assemblies, in top-assembly coordinates and return references for constraining faces.
Instructions
Find faces of a component anywhere in the assembly — also inside sub-assemblies — in TOP assembly coordinates (mm). Each result has a ref ("Sub:1/Part:1#F12") that constrain_faces takes. For a sub-assembly path, every part below it is searched.
Args: path: Component path from list_occurrences(depth=2), e.g. "Z AXIS:1/FIXED PLATE:1". surface: "plane", "cylinder", "cone", … (empty = any). normal: Outward normal of a plane, e.g. [0, 0, 1] for faces looking up. at: Face center coordinates to match, e.g. {"Z": 182.5}. diameter: Cylinder diameter in mm. min_area: Skip faces smaller than this (mm²). max_count: Most results to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| path | Yes | ||
| normal | No | ||
| surface | No | ||
| diameter | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| min_area | No | ||
| max_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |