.NET

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.

 

Using the .NET API

The supported .NET runtime is version 2.0. Note: .NET version 2.0 through 3.5 use the same base runtime.

Users can get the Microsoft .NET Framework Version 2.0 Redistributable Package (x86) here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5

and Microsoft .NET Framework Version 2.0 Redistributable Package (x64) here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=B44A0000-ACF8-4FA1-AFFB-40E78D788B00

 

.NET 4.0 is not officially supported. However we realize that some may wish to use the newer framework for their applications. In this case it's up to the developer to test for system requirements and necessary runtimes. For convenience, we have provided a sample Bricscad.exe.config file and a example based on .NET 4.0.

 

To setup a project with Visual Studio

Create a class library using the class library wizard under your preferred .NET language. There are currently two DLLs that need to be referenced, BrxMgd.dll and DD_Mgd.dll. These DLLs are located in your Bricscad installation folder. Important note: when referencing these two DLLs, its important to set the 'Copy Local' property to 'False'. All other DLLs such as referenced COM DLLs or satellite DLLs. can have their the 'Copy Local' property to true, or as needed by your project.

 

Samples projects can be found in the \dotNet folder (\Bricsys\Bricscad\API\dotNet).

 

 


For further assistance please contact Bricsys Support.


 

Tell me about...

Copying Code Examples from the Bricscad Programmer’s Reference


© Menhirs NV. All rights reserved.