Developing plugin for AutoCAD and BricsCAD

Developing plugin for AutoCAD and BricsCAD

Anonymous
Not applicable
1,618 Views
1 Reply
Message 1 of 2

Developing plugin for AutoCAD and BricsCAD

Anonymous
Not applicable

I am having trouble. When trying to use a #if in C# to determine which using namespaces are used it doesn't seem to recognize any of them.

 

Is there a better solution to creating a plugin for both programs?

0 Likes
1,619 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

First, you should have a look to the Bricscad documentation.

Then, in the same Visual Studio solution, you create 2 projects with a different conditional compilation symbol (e.g. BRX_APP and ARX_APP).

Write the code which have to be shared between the two projects in a class of one the projects and "add as link" this class to the other one.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes