# sm.creation.getBlueprintCost

Returns a table with uuid's and quantity. A body can be sent in to remove from blueprint cost.

**Kind:** Function

**Environments:** Game

## Game

### Overload 1

``` { .lua .api-signature }
sm.creation.getBlueprintCost( filePath, bodyId? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.creation.md#getblueprintcost-string-integer-optional)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `filePath` | string | The file path for the blueprint. |
| `bodyId` *(optional)* | integer | The id of a body.(Optional) |

**Returns:**

| Type | Description |
| --- | --- |
| table | The table of \{ [Uuid](../Game-Script-Environment/Userdata/Uuid.md), quantity \} |

### Overload 2

``` { .lua .api-signature }
sm.creation.getBlueprintCost( table, bodyId? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.creation.md#getblueprintcost-table-integer-optional)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `table` | table | The lua table for the blueprint. |
| `bodyId` *(optional)* | integer | The id of a body.(Optional) |

**Returns:**

| Type | Description |
| --- | --- |
| table | The table of \{ [Uuid](../Game-Script-Environment/Userdata/Uuid.md), quantity \} |
