Author Topic: CadTools programming background  (Read 1125 times)

chrismaster

  • Newbie
  • *
  • Posts: 1
CadTools programming background
« on: September 26, 2022, 12:36:15 PM »
This tool is great. Thx for bringing it to public.
Is there some background info on how it is programmed?
I would like to make some smal Bricscad tool like CadTool for fun. So some info how this tool is made would be cool.
Cheers
Christian

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 643
Re: CadTools programming background
« Reply #1 on: September 26, 2022, 03:06:04 PM »
Hi, and thanks for positive feedback

I started developing CadTools 2005 to get some tools that was missing in AutoCAD. My decision then was to use VB6 since it was easy and familiar to me. The code communicate with the running CAD systems object model (COM). It is pretty much like using VBA in BricsCAD.

Using COM can be very slow and you are limited in interacting with the user. If you are planning on coding I think you should go for .Net (Probably C#).

I think you may find sample code in many forums (booth BricsCAD and AutoCAD).

/Lars