Created
April 11, 2020 06:32
CADViewer Description gist 20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// 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