Plugin compatible with AutoCad and BricsCad

I made a plugin for AutoCad and can load it successfully. I am now working on BricsCad compatibility but am unable to get it to work with BricsCad. I added a comparative if statement to switch which namespaces and using statements are being used for each program but I cannot get it to work, any help would be appreciated.

Here is my source: https://github.com/y4utech/CADAccessibuildPlugin/tree/010fbc78b36b75fedce79b442f9abb7f6bbdda3d

EDIT: Sorry apparently I posted this three times.

Comments

  • avc
    avc
    edited September 2021

    I see that the only project in the solution is still tied to the AutoCAD libraries. In theory, you cannot compile it. Or am I bad looking? It seems that you are trying to create one dll that will work in all programs. It won't work that way.

  • ALANH
    edited September 2021

    In the lisp world you have Autocad FAS in Bricscad you have DSE. Same code just compiled in correct platform.

  • How do I compile it for bricscad then?

  • Remove references to AutoCAD libraries from the project. And tell us what happens when the library is loaded. How do you load the plugin?

  • I was missing a reference in the code that I didn't put into the #if. That fixed it Thanks!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Click one of the buttons on the top bar to get involved!