2023-10-21 14:48:06 +02:00
|
|
|
---
|
|
|
|
title: Part.units()
|
|
|
|
---
|
|
|
|
|
|
|
|
The `Part.units()` method returns a value formatted according to the
|
|
|
|
units set in settings.
|
|
|
|
|
2024-09-28 13:13:48 +02:00
|
|
|
:::note
|
2023-10-21 14:48:06 +02:00
|
|
|
This method is used internally.
|
|
|
|
You will probably want to the use `units()` method you can destructure
|
|
|
|
in [a part's draft method](/reference/api/part/draft) instead.
|
2024-09-28 13:13:48 +02:00
|
|
|
:::
|
2023-10-21 14:48:06 +02:00
|
|
|
|