Events
viewer3d.measure
invoked when a measurement changes example usage const onmeasurementchange = function (event) { const { measure, measures } = event; console log("viewer3d measure", "measure ", measure, "measures", measures); }; viewer3d addeventlistener("viewer3d measure", onmeasurementchange); jquery const onmeasurementchange = function (event, measure, measures) { console log("viewer measure", "measure ", measure, "measures", measures); }; $("#viewer 3d") on("viewer measure", onmeasurementchange); parameters onmeasurementchange function called when a measurement changes true left unhandled content type left unhandled content type event true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type measure true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type mode valid values are dimension laser point values map of measurement components point measurements have a single component point laser measurements have three components a , b , and c corresponding to the x , y and z axis dimension measurements have four components depth , distance , height , and width true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type point true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type function called when a measurement changes true left unhandled content type left unhandled content type event https //api jquery com/category/events/event object/ measure true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type mode valid values are dimension laser point values map of measurement components point measurements have a single component point laser measurements have three components a , b , and c corresponding to the x , y and z axis dimension measurements have four components depth , distance , height , and width true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type point true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type