CADViewer Visual Query API
CADViewer Visual Query in it’s implementation uses the CADViewer call-back methods when an action has been performed on the canvas or a file has loaded. These methods are implemented in the main /scr/components/CADViewer/CADViewer.js class in Visual Query. See Visual Query Callback on how the API callbacks are echoed to custom classes.
There are three main API’s for application programmers to use:
The functional API for CADViewer Front-End and the call-back API from CADViewer front-end:
CADViewer Functional API
CADViewer Callback Methods API
The API and full command-line interface for the Back-End converter AutoXchange 2025:
AutoXchange 2025 Command Line Interface
NOTE: For the communication between CADViewer Front-End and the Back-End CAD Converters, there is an additional CADViewer RESTFUL API, but this is mostly hidden from the application programmer if using the standard CADViewer Handlers/Connectors to connect between the server and front-end.
If the application programmer wants to write their own middleware connecting CADViewer with a server service, then a custom implementation of the CADViewer RESTFUL API can be useful.