Pro, Platinum
BricsCAD provides a C/C++ API, called the "BRX API". BRX stands for "BricsCAD Runtime eXtension".
Note concerning BRX under Linux see: BRX Linux
Code compatibility
BRX is 100% code compatible with the standard C++ interface of AutoCAD, ObjectARX. As an application developer, you only need to maintain one set of source code for your modules, to serve multiple CAD platforms:
Besides different header include paths and lib paths, the settings can be identical. Note that binary compatibility is not available: a module compiled with ObjectARX can not load in BricsCAD, and visa versa a module compiled with the BRX SDK can not load in AutoCAD.
Features
A glimpse of the various items supported in BRX:
Please note that this list is not limitative.
Version
BRX V17 is source code compatible with ObjectARX version 2015/2016, with some exceptions.
Where possible, BRX supports both newer and legacy interfaces. In some cases, legacy interfaces have not yet been
updated in BRX.
Compiling BRX applications
BRX modules, typically configured as unmanaged C++ extension dlls, need to be compiled with the same Visual Studio platform toolset as BricsCAD in order to be compatible:
More detailed documentation is included in the BRX SDK itself:
Samples
Amongst the sample applications installed with BricsCAD, you can find
1) a BRX/C++ sample project that shows some features of the BRX API (custom entity, dockable dialog, ...). The sample contains different build configurations, targeting BricsCAD and AutoCAD. The code can be compiled with the BRX SDK and ObjectARX, and the identical behavior can be checked on both CAD platforms.
2) a C# and a VB.NET sample project calling the managed wrapper classes.
Quality Assurance
Alongside with the development of the BRX SDK, Bricsys has developed an extensive suite of automated tests, to back up all supported BRX functions. Every function is checked for normal operation and error return values. By this way we maximize:
BRX SDK
The BRX SDK consists of:
The BRX SDK is not installed with BricsCAD itself, but is distributed through a separate download source. You can get free access to the BRX SDK, simply by registering yourself as an application developer on the Bricsys website (www.bricsys.com). During registration, mark the check box for "ARX/BRX/TX", and you will receive the necessary information to get started.
The 3 managed wrapper dll's: 'BrxMgd.dll', 'TD_Mgd.dll' and 'TD_MgdBrep.dll' are installed with BricsCAD.
F.A.Q.
On the Bricsys website (www.bricsys.com), support section, check our knowledge base for frequently asked questions and answers. Search for the keyword "BRX" to find the related topics.
Final notes
© Menhirs NV. All rights reserved. |