app_get_preferences
Retrieves PCB snap grid and display unit settings plus schematic visible and snap grid preferences from the active Altium Designer board or schematic.
Instructions
Get key Altium Designer preferences.
Returns PCB preferences (snap grid, display unit) from the active board and schematic preferences (visible/snap grid) from the active schematic. Values are null if no PCB or schematic is currently open.
Returns: Dictionary with "pcb" and "schematic" sub-objects containing grid and unit settings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||