CAD/CAM discussion forum > CAD > Automation ZWCAD+ 2012 Pro using .net

Automation ZWCAD+ 2012 Pro using .net

  Subscribe Topic

Rank: 1



posts: 1

Registered: 2013-6-17

Message 1 of 2

 Automation ZWCAD+ 2012 Pro using .net
17-06-2013 03:31 . pm   |   View his/her posts only

I'm trying to automise ZWCAD+ 2012 Pro from within a windows application.
Previously I have been using Autodesk Mechanical the same way for automatic generation of drawings, but I would like to replace Autodesk Mechanical with ZWCAD

I'm able to create an instance of the application and open and close documents, but as soon I try to work with selectionsets I get the error 0x80040155 (Interface not registered).

I use CType(GetObject(,"ZWCAD+.Application"), ZcadApplication) to get the application instance.
The returned applications fullName is "C:\Program Files (x86)\ZWCAD+ 2012\ZWCAD.exe" which is the same as my reference in Visual Studio.

Any help is appreciated

Rank: 5Rank: 5


posts: 878

Registered: 2013-5-6

Message 2 of 2

24-06-2013 04:40 . pm   |   View his/her posts only
Reply 1# kr5403

hi Roswall, actually, you are using COM interface, this problem has been fixed in the latest version ZWCAD+ 2012 SP2, you can download it from
ZWCAD+ 2014 is going to support .net, the beta version will be released in two weeks. You can have a try for that time.

BTW, as you use AutoCAD Mechanical, you may find ZWCAD Mechanical familiar and useful, here are getting start videos that help you to know ZWCAD Mechanical quickly:
See also