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