hoops_ai.insights.create_sidecar_display

hoops_ai.insights.create_sidecar_display(url, title='CAD Viewer', anchor='right', width=450, height=1080)

Create sidecar display for viewer.

Parameters:
  • url (str) – URL of the viewer to display

  • title (str) – Title for the sidecar window

  • anchor (str) – Position of sidecar (‘right’, ‘left’, ‘split-right’, ‘split-left’)

  • width (int) – Width of the sidecar in pixels (only for ‘right’/’left’ anchors)

  • height (int) – Height of the iframe in pixels (ignored for responsive layout)

Returns:

DisplayHandle instance

Raises:

ImportError – If required packages are not available

Return type:

DisplayHandle