Since V24.2, BricsCAD LISP
provides a dedicated interface for the Civil GeoCoordinateSystem
functionality (requires "Professional"
license).
This new API part is designed for simplicity,
flexibility and following the usual AutoLISP logic in naming,
arguments, behaviour and results.
As Civil GeoCoordinateSystem functionality
requires the BricsCAD Professional ("PRO") license level, using a
lower-level license (or when disabled i.e. by RunAsLevel=0), the
API module is not active, and all Civil GeoCoordinateSystem LISP
API functions will not be available.
As Civil GeoCoordinateSystem development
constantly continues, the BRX and LISP APIs will also expand,
provide more functionality and also incorporate the ideas and
feedback from third party developers.
How to verify the License Level ?
There are 2 Lisp functions
available : (bcad$LicenseLevels) and (vle-licenselevel),
which both use identical implementation.
If Civil GeoCoordinateSystem functionality is
available, the returned list will contain the string
"Professional".
"RunAsLevel" setting is also respected in
result list.
How to activate the Civil GeoCoordinateSystem LISP API ?
As the LISP function set of
the Civil GeoCoordinateSystem API is implemented using the BRX core
system, it is required to explicitly load / activate the Civil
GeoCoordinateSystem LISP interface functions (somewhat similar to
required (vl-load-com) under AutoCAD AutoLISP) using :
If all context conditions
(Professional licenses) are met, it will load the extension and
return T (or NIL if the Civil GeoCoordinateSystem API part is not
available).
The Civil GeoCoordinateSystem API provides the following functions :
© Bricsys NV. All rights reserved. |