Skip to content
View as Markdown

PCB Component

IRI: https://w3id.org/altium/cdm/design/PcbComponent

API: DesDesignItem · AD SDK: PCB.IPCB_Component

A component as placed on a board: its footprint instance with position, rotation, side and pads.

In the product

No product documentation linked yet.

Diagram

---
  config:
    layout: elk
    class:
      hideEmptyMembersBox: true
---
 classDiagram
    direction LR


  class des_PcbComponent["PCB Component"]






      style des_PcbComponent fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:2.5px

    click des_PcbComponent href "../../classes/des_PcbComponent/"






          des_PcbComponent : designator



          des_PcbComponent : footprint name








      des_PcbComponent --> "0..1" des_Point2D : position
      click des_Point2D href "../../classes/des_Point2D/"


  class des_Point2D["Point 2D"]






      style des_Point2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px





          des_PcbComponent : rotation








      des_PcbComponent --> "0..1" des_BoardLayer : layer
      click des_BoardLayer href "../../classes/des_BoardLayer/"


  class des_BoardLayer["Board Layer"]






      style des_BoardLayer fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_PcbComponent --> "0..1" des_Rectangle2D : bounding box
      click des_Rectangle2D href "../../classes/des_Rectangle2D/"


  class des_Rectangle2D["Rectangle 2D"]






      style des_Rectangle2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_PcbComponent --> "*" des_Pad : pads
      click des_Pad href "../../classes/des_Pad/"


  class des_Pad["Pad"]






      style des_Pad fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_PcbComponent --> "0..1" des_PlacedComponent : placed component
      click des_PlacedComponent href "../../classes/des_PlacedComponent/"


  class des_PlacedComponent["Placed Component"]






      style des_PlacedComponent fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_PcbComponent --> "0..1" lib_FootprintRevision : footprint
      click lib_FootprintRevision href "../../classes/lib_FootprintRevision/"


  class lib_FootprintRevision["Footprint Revision"]






      style lib_FootprintRevision fill:#ffe599,stroke:#a69563,color:#14181f,stroke-width:1px












  class des_PcbLayout["PCB Layout"]






      style des_PcbLayout fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px

          des_PcbLayout --> "*" des_PcbComponent: components 
          click des_PcbLayout href "../../classes/des_PcbLayout/"



Comments

The Platform API gives the schematic and PCB identifiers of a design item (DesDesignItem.schId, pcbId) but does not state how they join to DesignDataComponent_Preview; the AD SDK gives IPCB_Component.SourceUniqueId and SourceDesignator. The join is open question Q8. The Platform API gives the footprint by name only (DesDesignItem.footprintName); the AD SDK gives IPCB_Component.ItemGUID / ItemRevisionGUID / VaultGUID, which can resolve a managed footprint.

Inheritance

Fields

Name Cardinality Type Description Inheritance
designator 1 string The component designator on the board. direct
footprint name 0..1 string The name of the footprint used. direct
position 0..1 Point 2D The placement location. direct
rotation 0..1 decimal The rotation, in degrees. direct
layer 0..1 Board Layer The layer the component is placed on (top or bottom side). direct
bounding box 0..1 Rectangle 2D The bounding box of the component on the board. direct
pads * Pad The pads of the footprint instance. direct
placed component 0..1 Placed Component The component in the compiled schematic design that this board component implements. direct
footprint 0..1 Footprint Revision The Workspace footprint revision used, when the footprint is managed. direct

Comments