Author Topic: Creating COM addins for bricscad PRO using dotNet  (Read 2419 times)

0 Members and 1 Guest are viewing this topic.

jgr

  • Guest
Creating COM addins for bricscad PRO using dotNet
« on: September 01, 2010, 05:15:15 PM »
Using COM , Bricscad / IntelliCAD commands can be defined using Application.DefineFunction
It is similar to (defun c:cmd) in LISP.

I used this with vb6 and (CMS) IntelliCAD and now I've tried to translate into .Net (and works)

In vb6, is very easy. We use the addin wizard

This is the same as creating a shared addin for office using visual studio 2008. The big difference is for the registration of adddin, with. Net must be done explicitly (by code)


-To debug the same as with AutoCad
-For manage COM addins in bricscad use the command _addinmanager

I do not explain more because I do not speak English
See example

Daniel Eiszele

  • Newt
  • Posts: 85
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #1 on: September 01, 2010, 07:32:21 PM »
Thanks jgr, there is some really great information / insight provided there, particularly the implementation of definefunction.  I just need to mull over the implementation of IDTExtensibility2 to get it clear in my head.  Thanks for posting.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8720
  • AKA Daniel
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #2 on: September 01, 2010, 09:38:01 PM »

jgr

  • Guest
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #3 on: September 01, 2010, 10:06:59 PM »
I do not explain more because I do not speak English

And (of course) because I do not know anything more. :oops:

I used "try and error" (in spanish : prueba/error) and msdn documentation.

Thanks.

Daniel Eiszele

  • Newt
  • Posts: 85
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #4 on: September 01, 2010, 10:15:38 PM »
-For manage COM addins in bricscad use the command _addinmanager

..should actually be _addinman.  At least it is in BC 10.

jgr

  • Guest
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #5 on: September 01, 2010, 10:32:48 PM »
 :oops: My last post is for Daniel Eszeile

__declspec:
I know him. That thread is that I have decided to translate my code, as an exercise (I'm trying to learn  (vb).Net).

you're a genius. I love your jobs (sqlite...), and of course keith jobs , gile jobs (geometry :lol:).... alll theswamp.

I have many problems with english, but: (for all) thanks




jgr

  • Guest
Re: Creating COM addins for bricscad PRO using dotNet
« Reply #6 on: September 01, 2010, 10:40:18 PM »
-For manage COM addins in bricscad use the command _addinmanager

..should actually be _addinman.  At least it is in BC 10.


It is the first time I use Bricscad for this
But there is an equivalent command from Intellicad 2001. (Versions that support VBA)