Design: Part Choices

Modified on Fri, 25 Apr at 1:36 PM

Altium Designer allows you to specify one or more part choice for a component. 

You can read more on Altium's Part Choices here.


Data about your component part choice may be different depending on how it is accessed.

To receive reliable manufacturer parts data, we would recommend the following queries:


Step 1: Get component IDs


query Components($workspaceUrl: String!, $first: Int!) {
  desLibrary(workspaceUrl: $workspaceUrl) {
    components(first: $first) {
      nodes {
        id # get component id instead of manufacturerParts, for later queries
        name
        comment
        description
      }
      pageInfo {
        hasNextPage
        endCursor
      }
    }
  }
}


Step 2: get reliable information about the component directly.

query ComponentManufacturerParts($componentId: ID!) {
  desComponentById(id: $componentId) {
    manufacturerParts {
      companyName
      partNumber
      priority
    }
  }
}


It is possible to also access manufacturer parts in one query from e.g. desLibrary. However, we would not recommend this as due to technical reasons, this query can pull from a data source such as the cache which is not always consistent or up to date.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article