# `GSLayer.openBezierPath`

*Instance Property*

A cached representation of the layer’s open path shapes.

## Declaration

```swift
var openBezierPath: NSBezierPath? { get set }
```

```objc
@property (nonatomic, strong) NSBezierPath * openBezierPath;
```

[See also `openBezierPath` in the Python API](https://docu.glyphsapp.com/#GSLayer.openBezierPath)

```python
pyobjc_instanceMethods.openBezierPath() -> NSBezierPath
pyobjc_instanceMethods.setOpenBezierPath_(openBezierPath: NSBezierPath)
```

## Discussion

Components and closed paths are excluded. Returns `nil` when the layer has no open paths.

## See Also

### Bezier Paths

- [`GSLayer.bezierPath`](/Core/GlyphsCore/GSLayer/bezierPath) — A cached representation of the layer’s closed path shapes.
- [`GSLayer.selectionPath`](/Core/GlyphsCore/GSLayer/selectionPath) — A cached representation of the selected outline segments.
- [`GSLayer drawBezierPath`](/Core/GlyphsCore/GSLayer/drawBezierPath) — A representation of the closed paths and component outlines.
- [`GSLayer drawBezierPath:hasPaths:`](/Core/GlyphsCore/GSLayer/drawBezierPath:hasPaths:) — Creates a representation of the closed paths and component outlines while tracking component recursion.
- [`GSLayer drawOpenBezierPath`](/Core/GlyphsCore/GSLayer/drawOpenBezierPath) — A representation of the open paths in the layer and its components.
- [`GSLayer drawOpenBezierPathFast`](/Core/GlyphsCore/GSLayer/drawOpenBezierPathFast) — Returns the cached representation of open paths without updating it.

