proj_lock_designator
Lock or unlock component designators so annotation operations preserve chosen or all designators on the active sheet.
Instructions
Lock or unlock component designators to prevent re-annotation.
When locked, designators are preserved during annotation operations. Use designator="all" to lock/unlock all components on the active sheet.
Args: designator: Component designator (e.g., "U1", "R3") or "all" for all components lock: True to lock, False to unlock (default True)
Returns: Dictionary with designator, locked status, and count of affected components
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| designator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||