CADViewer Technical Documentation, Installation Guide and Reference Samples Library

Language and Menu Layout

Language Settings

All text elements in the menu system is loaded in from an XML file at initialization. The method cvjs_loadCADViewerLanguage() sets the language and location of the XML file.

Click on the method to open the API documentation.

Icon Menu Layout

Application programmers can control the menu interface through the menu settings. The menu system is built based on instructions in an XML file loaded from cvjs_setTopMenuXML().

Furthermore, application programmers can also turn off the CADViewer icon interface and the CADViewer page navigation modal, and use the API to access the CAD canvas through their own interface.

Methods to control visibility of the CADViewer Icon Interface. Click on the method to open the API documentation.

Method to control the layout of the CADViewer Icon Interface. Loads in the top icon menu system from an XML file The XML file. The XML file allows custom settings of the number of menu pages, the start menu page and content of each page, based on the selection set of available API commands. Click on the method to open the API documentation.

Sample XML Icon Menus

Below is a set of sample XML Icon Menus:

Viewing Only XML Icon Menu
Full XML Icon Menu Interface
Full XML Icon Menu Interface with Custom Commands
Last updated on 9 Apr 2020
Published on 9 Apr 2020