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 1

 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
See also