Compare Drawings
The compare drawings methods loads drawings from the paths defined by the general file modal initialization methods cvjs_setServerFileLocation() and cvjs_setServerFileLocation_AbsolutePaths(). These controls the path to the file location, that links with the File Loader Modal.
Click on the method to open the API documentation.
-
cvjs_setServerFileLocation() - optional
-
cvjs_setServerFileLocation_AbsolutePaths() - optional
Note: Application programmers can bypass the File Loader Modal and load the compare drawing directly using the method cvjs_setCompareDrawings_LoadSecondDrawingDirect()
Click on the method to open the API documentation.
For application programmers who wants to load in drawings to compare with directly from their own environment, there is an API method cvjs_CompareFiles_setFileModalContent() that takes as argument a datastructure to set the display content of the File Modal when loading a Compare File. This is useful if a system has several versions of the same file stored and want to compare the versions with each other. This method should be set in the call-back when the display drawing is loaded.
Click on the method to open the API documentation.
- cvjs_CompareFiles_setFileModalContent() - optional