# `GSComponent openBezierPath`

*Instance Method*

The transformed open paths of the component layer and its nested components.

## Declaration

```swift
func openBezierPath() -> NSBezierPath?
```

```objc
- (NSBezierPath *) openBezierPath;
```

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

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

## Discussion

Placeholder representations are not included. Returns `nil` when no component layer can be resolved and an empty path when the hierarchy has no open paths.

## See Also

### Representations

- [`GSComponent bezierPath`](/Core/GlyphsCore/GSComponent/bezierPath) — The transformed closed paths of the component layer and its nested components.
- [`GSComponent bezierPathIgnorePlaceholder:`](/Core/GlyphsCore/GSComponent/bezierPathIgnorePlaceholder:) — The transformed closed paths of the component layer and its nested components.
- [`GSComponent bezierPathIgnorePlaceholder:seen:hasPaths:`](/Core/GlyphsCore/GSComponent/bezierPathIgnorePlaceholder:seen:hasPaths:) — Collects the transformed closed paths while traversing a component hierarchy.
- [`GSComponent openBezierPath:`](/Core/GlyphsCore/GSComponent/openBezierPath:) — Collects the transformed open paths while traversing a component hierarchy.

