> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get CAD Bodies by Color

<CardGroup cols={2}>
  <Card title="Component, Color" href="#component-color" />

  <Card title="Part, Color" href="#part-color" />
</CardGroup>

***

<h2 id="component-color">
  Component, Color
</h2>

Extracts CAD Bodies from a Component based on color.

### Inputs

| Name       | Type                                                         | Description                        |
| ---------- | ------------------------------------------------------------ | ---------------------------------- |
| Component  | [Component](../../../../block-documentation/types/component) | Component from which to get bodies |
| Body color | [Color](../../../../block-documentation/types/color)         | Color of bodies to get             |

### Outputs

| Type                                                            |
| --------------------------------------------------------------- |
| [CAD Body List](../../../../block-documentation/types/cad-body) |

***

<h2 id="part-color">
  Part, Color
</h2>

Extracts CAD Bodies from a Part based on color.

### Inputs

| Name       | Type                                                 | Description                    |
| ---------- | ---------------------------------------------------- | ------------------------------ |
| Part       | [Part](../../../../block-documentation/types/part)   | Part from which to get bodies. |
| Body color | [Color](../../../../block-documentation/types/color) | Color of bodies to get.        |

### Outputs

| Type                                                            |
| --------------------------------------------------------------- |
| [CAD Body List](../../../../block-documentation/types/cad-body) |
