Skip to content

Instantly share code, notes, and snippets.

@CADViewer
Last active April 12, 2020 09:07
CADViewer Documentation gist 12
// NOTE BELOW: THESE SETTINGS ARE FOR SERVER CONTROLS FOR UPLOAD OF FILES AND FILE MANAGER
// I am setting the full path to the location of the floorplan drawings (typically /home/myserver/drawings/floorplans/)
// and the relative location of floorplans drawings relative to my current location
// as well as the URL to the location of floorplan drawings with username and password if it is protected "" "" if not
// cvjs_setServerFileLocation(ServerLocation+'/content/drawings/dwg/', '../content/drawings/dwg/', ServerUrl+'/content/drawings/dwg/',"","");
cvjs_setServerFileLocation_AbsolutePaths(ServerLocation+'/content/drawings/dwg/', ServerUrl+'content/drawings/dwg/',"","");
// NOTE ABOVE: THESE SETTINGS ARE FOR SERVER CONTROLS FOR UPLOAD OF FILES AND FILE MANAGER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment