Works with BricsCAD (Windows) Pro and Platinum.
The BricsCAD .NET API exposes BricsCAD functionality and allows to build managed code: code that runs under the .NET Common Language Runtime CLR.
With BricsCAD V13, the supported .NET runtime
is version 4.0.
See http://www.microsoft.com/net/download/version-4
Since the new framework is backwards compatible
with older frameworks, existing modules compiled for older BricsCAD
versions should keep running with BricsCAD V13,
unless version-dependent P/invoke signatures were used (see
further).
For new developments on V13, developers need to use Visual studio 2010. While modules compiled with VS2005/.NET 2 for older BricsCAD versions will continue to run on V13, the problem is Visual studio 2005 itself will not recognize v13's BrxMgd and TD_Mgd reference DLLs, since VS2005 is not .NET 4 aware.
For .NET based developments, in particular VB.NET, C#, F#, C++/CLI (pure), it should be sufficient to use the free Visual Studio 2010 express compiler.
Create a class library using the class library wizard under your preferred .NET language. There are currently two DLLs that need to be referenced,
and (+ optional (BREP API)). These DLLs are located in your BricsCAD installation folder. Important note: when referencing these two DLLs, its important to set the ' property to . All other DLLs such as referenced COM DLLs or satellite DLLs. can have their 'Copy Local' property to true, or as needed by your project.
Samples projects can be found in the \dotNet folder (\Bricsys\BricsCAD\API\dotNet).
BRX12.DLL has been updated as BRX13.DLL, P/Invoke signatures depending on this file will need to be updated accordingly.
© Menhirs NV. All rights reserved. |