Callback Methods
CADViewer has implemented a set of generic call-back methods cvjs_OnLoadEnd() , cvjs_OnLoadEndRedlines(), cvjs_change_space(), cvjs_graphicalObjectCreated() and cvjs_ObjectSelected() when an action has been performed on the canvas. These Java Script callback methods must be implemented as placeholders.
cvjs_OnLoadEnd() is the general call-back method to when a drawing has been loaded. Typically when a drawing is loaded, a number of drawing specific API methods can be called. The other call-back methods are respectively used for Redlines, CAFM Interface creation and call-back when an object has been clicked for interation, and are described elsewhere in this techdoc.