Graphics Service overview
Overview#
Use the Graphics Service to cache model graphics using file sets and stream and render them in the IafViewer. While graphics files are stored in the File Service, a file set is a list of references to graphics files you want to cache in the Graphics Service in order to render together in the IafViewer.
Any graphics file a user has permissions to read, they can group in a graphics file set.
Figure: Graphics Service components

Note: For detailed information about the IafViewer, refer to the IafViewer Overview page.
Connecting file set and IafViewer#
A file set's model graphics files stream over a single web socket connection and render in the IafViewer as long as there is a connection.
Figure: File set and IafViewer web socket stream connection

APIs#
To create file sets, load model graphics, or configure the viewer, use the following API calls:
- To create file set or to cache graphics, use the IafGraphicsSvc API.
- To load a graphics stream, get geometry views, or load SVG images, use the IafBimGraphicsLoader API.
- To configure the IafViewer, which is a react component, see IafViewer.
- For a full reference, see Graphics service REST API.