Overview
Extracts all override properties from a component instance. These overrides can later be applied to other instances using set_instance_overrides, enabling efficient propagation of customizations across multiple instances.This is part of the Instance Override Propagation workflow contributed by @dusskapark. See the demo video.
Parameters
ID of the component instance to get overrides from. If not provided, the currently selected instance will be used.
Response
Whether the operation succeeded
Success or error message describing the result
ID of the instance that overrides were extracted from
ID of the main component the instance is based on
Number of override properties that were extracted
Usage Example
Instance Override Workflow
Select or identify source instance
Choose the component instance that has the customizations you want to propagate
Apply overrides
Use set_instance_overrides to propagate the customizations
What Gets Captured
The tool captures all override properties including:- Text content overrides
- Visibility toggles for nested layers
- Component swap overrides
- Fill and stroke color overrides
- Any other property that can be overridden in a component instance
Common Use Cases
Design System Updates
Apply consistent customizations across multiple component instances
Template Duplication
Replicate a customized instance’s settings to create variations
Bulk Modifications
Make the same changes to multiple instances without manual repetition
State Management
Copy state configurations (like button states) between instances
Example: Propagating Button Styles
Notes
- Overrides are stored temporarily in the plugin’s memory until applied
- Only works with component instances (not main components)
- The source instance must have at least one override property
- Overrides are extracted from the current state of the instance
Error Handling
Related Tools
- set_instance_overrides - Apply extracted overrides to target instances
- create_component_instance - Create new component instances
- get_local_components - Get available components
- get_node_info - Get detailed node information