/
How-to: Draw a Bounding Box in the Web Viewer

How-to: Draw a Bounding Box in the Web Viewer

Language: JavaScript

The following JavaScript is a modified version of the Bounding Box example provided in the Developer Examples section of the Quickstart menu. This modified example contains three components:

  1. BoundingBoxMarkup class extended from MarkupItem

  2. Selection event handler

  3. Registering event handler as a Callback

 

For more information, check out our forum post.

 

Related content

Learn more about Markup Basics in our official HOOPS Web Viewer documentation.

Related content

Error: No status file
Error: No status file
Read with this
Training: Developing Advanced 3D Workflows for Web
Training: Developing Advanced 3D Workflows for Web
More like this
How-To: Change display unit and decimal place of measure operators
How-To: Change display unit and decimal place of measure operators
Read with this
How-To: Save a HOOPS scene to an image format with a transparent background
How-To: Save a HOOPS scene to an image format with a transparent background
More like this
FAQ: Can I use the Communicator Web Viewer with Content Security Policy (CSP) Rules?
FAQ: Can I use the Communicator Web Viewer with Content Security Policy (CSP) Rules?
Read with this
How-To: Equivalent to Perimeters Edges in HOOPS Communicator to draw contours of a model.
How-To: Equivalent to Perimeters Edges in HOOPS Communicator to draw contours of a model.
More like this