Querying Driver Attributes and Capabilities
- Last UpdatedJan 24, 2023
- 2 minute read
|
[VAR {var}] LMI [DRI/VER {string}] |
|
|
{var} |
variable name |
|
{string} |
driver name and connection details in the following format, enclosed in single quotes: {name}[|{path to dll}[|{vendor’s connect string}]] |
This command connects to, and queries attributes of, the named driver. The result string is returned in variable {var}, or if this is omitted, output in the command window.
The DRIVER {string} subcommand should be included the first time an Laser Model Interface (LMI) command is used for a particular driver, but need not be repeated for subsequent calls to the same driver. See Driver Subcommand - Accessing Drivers.
The available attributes are:
|
APIVERSION |
The version string for the LMI. |
|
DRIVERVERSION |
The version string for the driver. |
|
BANNER |
The driver manufacturer’s banner text. |
|
LAST ERRORMESSAGE |
The last error message (or an empty string if no error has occurred). |
|
MAXIMUM MODELS |
The maximum number of models that can be opened simultaneously (range 1 ‑ unlimited). |
|
MAXIMUM VIEWS |
The maximum number of views that can be rendered efficiently (range 1 ‑ unlimited). Note: since calls to render views are made sequentially, any number of views can be rendered, however the rendered images are generally cached by the vendor software for efficiency, and this command returns the maximum number of views for which this caching is supported. |
|
MAXIMUM REGIONSOFINTEREST |
The maximum number of regions of interest that the driver supports (range 0 ‑ unlimited). Regions of interest define areas where a higher view quality may be used. |
|
MAXIMUM HIGHLIGHTREGIONS |
The maximum number of highlighted regions that the driver can support (range 0 ‑ unlimited). |
|
MAXIMUM CLASHVOLUMES |
The maximum number of highlighted clash volumes that the driver can support (range 0 ‑ unlimited). |
|
MAXIMUM VIEWQUALITY |
The maximum view quality that the driver supports INSIDE or OUTSIDE the regions of interest (range 1 or higher). |
|
MAXIMUM VIEWPORT WIDTH / HEIGHT |
The maximum viewport width / height that the driver supports (range 1 ‑ unlimited). |
|
SUPPORT FBCLIPPING |
Whether the driver supports front and back clipping planes (‘true’ or ‘false’). |
|
SUPPORT RENDERFAST |
Whether the driver supports fast rendering (‘true’ or ‘false’). |
|
SUPPORT LOWRESEVERYWHERE |
Whether the driver supports rendering in low resolution everywhere mode (‘true’ or ‘false’). |
|
SUPPORT TESTVOLUMEFAST |
Whether the driver supports a fast (but less accurate) version of volume testing for clashing. |
|
SUPPORT TESTGEOMETRYEXACT |
Whether the driver supports testing geometry for clashing at the "exact check" level. |