Since V25.2, BricsCAD LISP provides a
dedicated interface for the Civil GIS 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 GIS 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 GIS LISP API functions will not be
available.
As Civil GIS 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 GIS is available, the returned list
will contain the string "Professional".
"RunAsLevel" setting is also respected in
result list.
How to activate the Civil GIS LISP API ?
As the LISP function set for
Civil GIS is implemented using the BRX core system, it is required
to explicitly load / activate the Civil GIS 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 GIS API part is not available).
The Civil GIS API covers the following functional areas :
© Bricsys NV. All rights reserved. |