CAD/CAM discussion forum > CAD Tutorial & Tips > ZWCAD Visual LiSP Editor / VB.Net Interface

ZWCAD Visual LiSP Editor / VB.Net Interface

Rank: 1

MarkG

Newbie

posts: 3

Registered: 2011-12-1

Message 1 of 6

 ZWCAD Visual LiSP Editor / VB.Net Interface
22-08-2012 05:27 . am | View his/her posts only
I do a lot of automation for AutoCad using Visual LiSP and VB.Net.
Does ZWCAD have a Visual LiSP editor (I cannot seem to find it) or do I have to use a third party text editor?
Does ZWCAD interface with VB.Net? I cannot find any help on this subject.

Thanks,
Mark

Rank: 5Rank: 5

Arphone

posts: 26

Registered: 2012-6-25

Message 2 of 6

22-08-2012 10:01 . am | View his/her posts only
Reply 1# MarkG

Hi Mark,

1.ZWCAD does not have a build-in lisp editor, so you may have to find a third-party one.
2.If you want to use .net, you can only connect to the COM interface of ZWCAD. If you are using ZWCAD, you should add this file to reference:
z.JPG
2012-8-22 09:59
, and if you are using ZWCAD+, you should add
p1.JPG
2012-8-22 10:00
and
p2.JPG
2012-8-22 10:01

Rank: 1

MarkG

Newbie

posts: 3

Registered: 2011-12-1

Message 3 of 6

23-08-2012 01:48 . am | View his/her posts only
Hello Peimen8012,
When you say add these files to the referemnce, is that similar to adding acdbmgd.dll and acmgd.dll to the reference for AutoCad?
Is there anything else I need to do? What command do I use to launch the program? Sorry if these questions sound dumb, but I'm new to .Net and very new to ZWCAD.

Thanks,
Mark

Rank: 5Rank: 5

Arphone

posts: 26

Registered: 2012-6-25

Message 4 of 6

27-08-2012 04:16 . pm | View his/her posts only
test.rar (122.51 KB) Reply 3# MarkG


Hi Mark,

Yes, and here is a sample shows how to start ZWCAD+ and draw a line.

Rank: 1

Assgarth

Newbie

posts: 26

Registered: 2011-7-29

Message 5 of 6

18-09-2012 03:05 . pm | View his/her posts only
Hi Arphone,

Can you show an example how to check if Zw+ is active?
Also how to get point and other interaction with user?

And last question: what with C#? Can we also use it by COM?

I greet
test.zip (249.42 KB)

Rank: 5Rank: 5

Jenny

posts: 480

Registered: 2013-5-6

Message 6 of 6

See also