---
title: ViewpointPart
summary: Type alias in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# ViewpointPart

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Type alias

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
type ViewpointPart = "camera" | "visibility" | "colours" | "sections" | "models" | "selection" | "measurements" | "annotations" | "gis" | "display" | "sun";
````

The parts a stored viewpoint can hold, most used first (BimRepository/docs/viewpoint-contents-design.md §3). The
viewer captures and restores [[page:reference/javascript/bimworks-viewercommon/viewer-viewpoint-parts-af776b87|VIEWER_VIEWPOINT_PARTS]]; the application fills in the others
