CAD/CAM discussion forum > CAD > dotNet compatibility problem between autocad and zwcad+

dotNet compatibility problem between autocad and zwcad+

Rank: 1



posts: 1

Registered: 2013-8-22

Message 1 of 2

 dotNet compatibility problem between autocad and zwcad+
18-09-2013 12:13 . am | View his/her posts only
Compare ZwCad - (382.75 KB)


I have some question about the compatibility betwwen autocad and zwcad+ using dotNet , and found some problems while testing

Attached , you can find a compressed file with 2 projects
one (testzw_acad) is directly created for autocad 2014
the second is the previous converted following your instructions founds in this forum
each of them contain screen-copy for test1 and test5 display

each project contains 5 commands (named test1 to test5), one for each problem

my tests are with
windows7 french
autocad 2014 french
zwcad+ 204 beta

to test , I only fire autocad (or zwcad) , launch the dll with netload , fire each command

1) with which version of AutoCAD, is zwcad compatible ? (2012 / 2013 / 2014 ?) (at an api level)
I think , the test2 to test4 problems are related to this question

2) about test1
the string conversion use a different decimal separator
zwcad use the european one (exactly like visual studio alone)
autocad use the american one
is it possible to change a zwcad parameter in order to operate exactly like AutoCAD ?

3) about test2
zwcad circle object has no diameter property

4) about test3
some values for comandflags are missing

5) about test4
the autocad paletteset add method has a new parameter type

6) about test5
the more problematic
as you can see in the screen copies , the results of this command are very différents.
zwcad give a very false display but why ?
the autocad result is the good one
(this sample is a part of a bigger software , so the programmatic logic can be strange)

can you give me a solution about this points ?

thanks in advance for your answer
sorry for my poor English



Rank: 8Rank: 8


Super Moderator

posts: 510

Registered: 2013-5-6

Message 2 of 2

25-09-2013 01:48 . pm | View his/her posts only
Reply 1# luc5563

hi Luc,

1) ZWCAD+ support almost all dot net functions of AutoCAD 2006, and ZWCAD+ also support dot net functions that used frequently in AutoCAD 2012.

2) This is a problem of VS, not ZWCAD+, you can test this sample: WindowsApplication1.rar (63.67 KB)

3) Diameter property is missing for circle, we will support it in future version. ( ID: 6932)

4) Comparing with AutoCAD dot net, there are some functions missing as following, please let me know what you need and we will take it as priority and try to support it as soon as possible.

5) It works well in ZWCAD+ 2014 official version, please download and have a try.

6) This is a bug, we will fix it in future version. (ID: 6934)
See also