2021-10-17 18:26:00 +02:00
---
2021-08-25 16:09:31 +02:00
title: Using shorthand
for: developers
about: Shows you how to use our shorthand method and notation
2021-10-17 18:26:00 +02:00
---
2021-08-25 16:09:31 +02:00
The [Part.shorthand() ](/reference/api/part/#shorthand ) method will become your best friend.
2021-10-17 18:26:00 +02:00
By using [object destructuring ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Object_destructuring ) you'll get access to a bunch
2021-08-25 16:09:31 +02:00
of handy variables to make your code more concise and readable.
2021-10-17 18:26:00 +02:00
[Part.shorthand() ](/reference/api/part/#shorthand ) provides a lot of things, and you typically
2021-08-25 16:09:31 +02:00
don't need all of them, but here's everything it has to offer:
```js
const {
options, // Pattern options
measurements, // Model measurements
Point, // Point constructor
Path, // Path constructor
Snippet, // Snippet constructor
points, // Holds part points
paths, // Holds part paths
snippets, // Holds part snippets
store, // The store allows you to share data between parts
utils, // A collection of utilities
macro, // Method to call a macro
debug, // Method to log debug info
sa, // Requested seam allowance
final, // Whether to draft a complete pattern or not
paperless, // Whether to draft a paperless pattern or not
units, // Requested units
} = part.shorthand();
```
< Note >
Many examples throughout our documentation use shorthand notation.
< / Note >