Skip to content

Instantly share code, notes, and snippets.

@CADViewer
Created April 11, 2020 06:32
CADViewer Description gist 20
/// NOTE: BELOW REDLINE SAVE LOAD CONTROLLERS
// This method is linked to the save redline icon in the imagemap
function cvjs_saveStickyNotesRedlinesUser(){
// there are two modes, user handling of redlines
// alternatively use the build in redline file manager
cvjs_openRedlineSaveModal("floorPlan");
// custom method startMethodRed to set the name and location of redline to save
// see implementation below
//startMethodRed();
// API call to save stickynotes and redlines
//cvjs_saveStickyNotesRedlines("floorPlan");
}
// This method is linked to the load redline icon in the imagemap
function cvjs_loadStickyNotesRedlinesUser(){
cvjs_openRedlineLoadModal("floorPlan");
// first the drawing needs to be cleared of stickynotes and redlines
//cvjs_deleteAllStickyNotes();
//cvjs_deleteAllRedlines();
// custom method startMethodRed to set the name and location of redline to load
// see implementation below
// startMethodRed();
// API call to load stickynotes and redlines
//cvjs_loadStickyNotesRedlines("floorPlan");
}
/// NOTE: ABOVE REDLINE SAVE LOAD CONTROLLERS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment