Check components exist
component_existsVerify component existence in Altium .PcbLib or .SchLib libraries before renaming, copying, or deleting to avoid errors.
Instructions
Check if one or more components exist in an Altium library. Use this to validate component names before operations like rename, copy, or delete. Supports both .PcbLib and .SchLib files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the Altium library file (.PcbLib or .SchLib) | |
| component_names | Yes | List of component names to check |