obj_get_font_spec
Retrieves font size, name, bold, italic, underline, strikeout, and rotation for a font ID taken from an object’s FontId property by reading the Altium font table.
Instructions
Get font properties for a given font ID.
Reads the Altium font table to retrieve the full font specification (size, name, bold, italic, etc.) for a font ID obtained from an object's FontId property.
Args: font_id: Font ID from an object's FontId property
Returns: Dictionary with font_id, size, rotation, bold, italic, underline, strikeout, font_name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||