TheSwamp
Code Red => .NET => Topic started by: jgr 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
-
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.
-
jgr, have you seen this thread?
http://www.theswamp.org/index.php?topic=29100.0
-
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.
-
-For manage COM addins in bricscad use the command _addinmanager
..should actually be _addinman. At least it is in BC 10.
-
: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
-
-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)