Set Footprint Type
set_footprint_typeSet a footprint's placement type (SMD, through-hole, unspecified) and exclusion flags to control pick-and-place and BoM exports.
Instructions
Set the placement type (through_hole / smd / unspecified) and optional exclusion flags on a placed PCB footprint. The placement type controls whether the footprint is included in pick-and-place (.pos) output files. Use exclude_from_pos_files to suppress a footprint from .pos exports without changing its type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Placement type: 'smd' for surface-mount, 'through_hole' for PTH components, 'unspecified' to clear both bits (e.g. for board-only or mechanically-placed items) | |
| reference | Yes | Reference designator of the footprint (e.g. 'R1', 'U3') | |
| exclude_from_bom | No | When true, suppress this footprint from BoM exports. Omit to leave the current setting unchanged. | |
| not_in_schematic | No | When true, marks the footprint as board-only (no corresponding schematic symbol). Omit to leave the current setting unchanged. | |
| exclude_from_pos_files | No | When true, suppress this footprint from pick-and-place (.pos) exports. Omit to leave the current setting unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |