Component Class Generator

Parent page: PCB Dialogs

The Component Class Generator dialog.

Summary

This dialog allows the designer to quickly generate the membership for the selected component class, based on defined search criteria. A range of attributes can be used to effectively 'capture' the components that you want to add as class members, including Designator, Comment, and Footprint. At a click of a button, all components matching the search criteria are added to the class.

Access

The dialog can be accessed from the PCB Editor in the following ways:

  • From within the Object Class Explorer dialog. With a Component Class selected, simply click the Component Class Generator button, at the bottom-left of the dialog.
  • From the PCB panel (configured in Components mode), right click in the Component Classes region and use the Add Class or Properties command - depending on whether you are creating a new class, or editing an existing one. From the Edit Component Class dialog that appears, click the Class Generator button, at the bottom-left.
The Object Class Explorer dialog is accessed by clicking Home | Design Rules | , from the main menus.

Options/Controls

  • Search/Filter Criteria - the left-hand side of the dialog provides a number of fields that collectively define the search/filter criteria, used to target the components that are to be added as members of the component class. The following criteria can be configured:
    • Designator - use this field to search/filter based on component designator. Use the field's drop-down to choose the type of components to target. All unique designator types found in the board design will be listed, in the format <DesignatorPrefix>?? (e.g. U**, R**, C**). To include components regardless of designator type, set this field to Any.
    • Comment - use this field to search/filter based on component comment. Use the field's drop-down to choose the component comment to target. All unique component comments found in the board design will be listed. To include components regardless of their comment, set this field to Any.
    • Footprint - use this field to search/filter based on component footprint. Use the field's drop-down to choose the footprint to target. All unique component footprints found in the board design will be listed. To include components regardless of their footprint, set this field to Any.
    • Layer - use this field to search/filter based on which side of the board the components reside. Use the field's drop-down to target components on the TOP or BOTTOM. To include components regardless of the layer on which they reside, set this field to Any.
    • Rotation - use this field to search/filter based on component rotation. Use the field's drop-down to choose a specific rotation to target. All unique component rotations found in the board design will be listed. To include components regardless of their orientation, set this field to Any.
    • Locked - use this field to search/filter based on the component's locked status. Use the field's drop-down to target components that are locked (True) or not locked (False). To include components regardless of their locked status, set this field to Any.
    • Selection - use this field to search/filter based on the component's selection status. Use the field's drop-down to target components that are currently selected in the workspace (True) or not selected (False). To include components regardless of their selection status, set this field to Any.
  • Class Name - this field, directly above the current members list for the class, presents the current name of the class. Change this as required.
  • Class Membership - this region, on the right of the dialog, lists all components, by designator, that are currently members of the component class.
  • Add Matching - click this button to add all components that match the defined search/filter criteria, to the class membership region.
  • Clear Selected - click this button to have all components that are currently selected in the class membership region, removed from the class.
Components can be selected using standard multi-select techniques - Ctrl+click, Shift+click, and Click&Drag.

 

You are reporting an issue with the following selected text and/or image within the active document: