zwcad 2017 sp1 - cad-design · 3 the stability of open&save becomes more and more stable after...

17
ZWSOFT | 2016/11/16

Upload: ngodat

Post on 05-Nov-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

ZWSOFT | 2016/11/16

1

Contents Stability & Efficiency ................................................................................................................................. 2

1.1 Stability Monitoring ................................................................................................................. 2

1.1.1 Vertical comparison: ....................................................................................................... 2

1.1.2 Horizontal comparison: ................................................................................................. 3

1.2 Efficiency monitoring .............................................................................................................. 4

1.2.1 Vertical comparison: ....................................................................................................... 4

1.2.2 Horizontal comparison: ................................................................................................. 4

What’s New ................................................................................................................................................... 6

1.3 New/Enhanced Features ....................................................................................................... 6

1.3.1 Dynamic UCS ....................................................................................................................... 6

1.3.2 Toolbar in Ribbon interface.......................................................................................... 6

1.3.3 Open XREF by right-click shortcut menu ............................................................... 7

1.3.4 Open OLE objects by right-click shortcut menu .................................................. 7

1.3.5 Move dimension text by right-click shortcut menu ........................................... 8

1.4 New/Enhanced Commands .................................................................................................. 9

1.5 New System Variables ............................................................................................................. 9

1.6 API Enhancement ...................................................................................................................... 9

1.6.1 ZRX .......................................................................................................................................... 9

1.6.2 .NET ..................................................................................................................................... 12

1.6.3 VBA ...................................................................................................................................... 12

1.6.4 LISP ...................................................................................................................................... 13

2 Bug fixed ............................................................................................................................................ 15

3 Known Issues .................................................................................................................................. 16

2

ZWCAD 2017 SP1.2 Release Note

32bit: VERNUM=2016.11.14(11574)_Win32

64bit: VERNUM=2016.11.14(11574)_x64

It’s almost been one and half month since the last time we released ZWCAD 2017 SP1, here I

am very glad to tell you that ZWCAD 2017 SP1.2 is ready today.

The ZWCAD R&D team continues to improve the program utility for our customers’ all day

work, a lot of bug fixes, API improvements and also some most wanted new

commands/features are included in this version.

Stability & Efficiency

1.1 Stability Monitoring

Stability is the most important aspect for an industry software. To enhance the stability of ZWCAD 2017, the ZWCAD R&D team has adopted a series of measures, such as CR report mechanism and code optimization. And also, we have adopted some ways to monitor the stability, such as fatigue test, human test and automated test. We have collected hundreds of thousands of drawings from different sizes and different industries for stability test. Our latest test result shows the stability of SP1.2 version is slightly better than the previous version.

1.1.1 Vertical comparison:

Operation: Open & Save Number of samples: 1097 drawings Drawing size: from 1M to 200M+

3

The stability of OPEN&SAVE becomes more and more stable after every versions improvement. According to our test, ZWCAD 2017 SP1.2 is able to open 5 more drawings than the previous SP1 version.

1.1.2 Horizontal comparison:

Operation: Open & Save Number of samples: 54 drawings Drawing size: from 1M to 200M+

According to our test, now the latest ZWCAD 2017 SP1.2 can open all of the drawing samples.

1097 1097 1097 1097 10971043 1069 1062 1075 1080

54 28 35 22 1735 13 22 13 80

200

400

600

800

1000

1200

ZWCAD 2017 Official ZWCAD 2017Update1

ZWCAD 2017Update2

ZWCAD 2017 SP1 ZWCAD 2017 SP1.2

Comparison chart between ZWCAD versions

Total Numbers Pass Fail(sometimes) Fail(always)

5452

5454

43

54

0

10

20

30

40

50

60

AutoCAD 2013 ZWCAD+2015 SP3 ZWCAD2017 SP1.2

Comparison chart between competitors

Pass (open) Pass (save)

4

1.2 Efficiency monitoring

After the release of ZWCAD 2017 SP1 version, the ZWCAD R&D team have done a lot of research on improving the efficiency of some most frequently used operations, such as COPY, MOVE, SCAL, ROTATE and LAYOUT SWITCH, now let’s see how it works out.

1.2.1 Vertical comparison:

Operation: Some most frequently used commands such as move, copy, mirror and etc. Number of samples: 24 drawings Drawing size: From 1M to 30M+

We do the same operation test between ZWCAD 2017 SP1 and SP1.2, the test result shows that some operations such as ROTATE, SCALE and LAYER SWITCH take much less time in SP1.2 than SP1.

1.2.2 Horizontal comparison:

Operation: Some most frequently used commands such as move, copy, mirror, etc. Number of samples: 24 drawings Drawing size: From 1M to 30M+

0

10

20

30

40

50

60

70

80

90

100

Comparison chart between ZWCAD Versions

ZWCAD SP1.2 ZWCAD SP1

Unit: Seconds

5

According to our sample test, some operations efficiency such as layout switch and layer operations are the best between competitors. But some operations efficiency such as copy, array, copyclip are still need to be improved, although they are better than the previous SP1 version, we will keep on improving such functions.

0

10

20

30

40

50

60

70

Comparision chart between competitors

ZWCAD 2017 SP1.2 ZWCAD+2015 AutoCad2013 GstarCAD2017

Unit: Seconds

6

What’s New Compared with the ZWCAD 2017 SP1 version, the enhancements are listed as below:

1.3 New/Enhanced Features

1.3.1 Dynamic UCS

ZWCAD 2017 SP1.2 newly supports dynamic UCS. With this feature, when user moves the cursor over a 3D solid planar face during the command, the program will align the XY plan of the UCS with the planar face automatically. After the command is finished, the UCS returns to previous setting.

Note: system variable UCSDETEC controls whether to enable the function of dynamic UCS.

1.3.2 Toolbar in Ribbon interface

Now ZWCAD can callout tool bars in the ribbon interface.

7

1.3.3 Open XREF by right-click shortcut menu

Now ZWCAD users can open selected external reference by right-click shortcut menu.

Related command: XOPEN

1.3.4 Open OLE objects by right-click shortcut menu

Now ZWCAD users can open selected OLE objects by right-click shortcut menu.

Related command: OLEOPEN

8

1.3.5 Move dimension text by right-click shortcut menu

Now ZWCAD users can move dimension text by right-click shortcut menu.

Related command: AIDIMTEXTMOVE

9

1.4 New/Enhanced Commands

ZWCAD 2017 SP1.2 provides 538 commands, 13 of them are newly added commands compared with the SP1 version. No Commands Description 1 3DFACE Create a three-sided or four-sided surface in 3D space

2 AIDIMTEXTMOVE Move dimension text according to selected command line option

3 AIMLEADEREDITADD Add leader(s) to a multileader object

4 AIMLEADEREDITREMOVE Remove leader(s) from a multileader object

5 ATTSYNC Synchronize the attributes of the block references with the specified block definition.

6 BATTMAN Manage the attribute definition of the block in current drawing.

7 DIMBREAK Add or remove dimension breaks on the dimension or extension lines where they intersect the other object.

8 ETRANSMIT Packages a set of files for Internet transmission.

9 LAYTRANS Specify the layer to translate and the layer translated to 10 LOGFILEOFF Stop recording the command execution history to the log

file 11 LOGFILEON Record the command execution history to the log file.

12 OLEOPEN Open selected OLE objects

13 XOPEN Open selected external objects in a separate window

1.5 New System Variables

ZWCAD 2017 SP1.2 provides 430 system variables, one command is newly added in this version. No System Variables Description 1 UCSDETECT Control whether to enable the function of dynamic UCS

1.6 API Enhancement

1.6.1 ZRX

Newly adds 40 ZRX interface, and fixes 50 ZRX interface bugs, details are as below:

No API type Bug ID

1 AcApGetDatabase add 5154

10

2 AcDbBlockReferenceIdIterator::getBlockReferenc

eId

add 4585

3 AcDbCurve::reverseCurve add 4578\4913

4 AcDbDataCell Class add 4918

5 AcDbDate Class add 4920

6 AcDbEllipse::majorRadius add 3081

7 AcDbEllipse::minorRadius add 3081

8 AcDbRegion::intersectWith add 4397

9 acdbSetDbmod add 4581

10 AcDbUCSTable::add add 4503

11 acedGetEnv add 372

12 acedSetCurrentVPort add 4719

13 acedSyncFileOpen add 4577

14 AcGeVector2d::AcGeMatrix2d add 4924

15 AcOpmGetCategoryDescription add 2680

16 AcOpmGetCategoryWeight add 2680

17 AcOpmGetParentCategory add 2680

18 acutXStrNormalize add 4720

19 CAcUiAngleEdit Class add 2984

20 CAcUiDockFrame add 3507

21 CAcUiPlotStyleNamesComboBox add 1073

22 CAcUiSymbolEdit Class add 4917

23 GET_OPM_COMMAND_PROPERTY_MANAGER add 3373

24 GET_OPM_PERINSTANCE_EXTENSION_PROTOCOL add 3373

25 GET_OPM_PERINSTANCE_PROPERTY_SOURCES add 3373

26 GET_OPMEXTENSION_CREATE_PROTOCOL add 3373

27 IPropertyManager::AddProperty add 3373

28 IPropertyManager::GetDynamicPropertyCount add 3373

29 IPropertyManager::RemoveProperty add 3373

30 IPropertyManager2::AddProperty add 3373

31 IPropertyManager2::GetDynamicPropertyCountEx add 3373

32 IPropertyManager2::RemoveProperty add 3373

33 OPMPerInstancePropertyExtensionFactory::

CreateOPMPerInstancePropertyExtension

add 3373

34 OPMPerInstancePropertySources::GetPropertySour

ceNames

add 3373

35 OPMPerInstancePropertySources::IPropertySource

* GetPropertySourceAt

add 3373

36 OPMPerInstancePropertySources::RemovePropertyS

ourceAt

add 3373

11

37 OPMPerInstancePropertySources::SetPropertySour

ceAt

add 3373

38 OPMPropertyExtensionFactory::CreateOPMCommandP

rotocol

add 3373

39 OPMPropertyExtensionFactory::CreateOPMObjectPr

otocol

add 3373

40 OPMPropertyExtensionFactory::GetOPMManager add 3373

41 AcApDocManager::activateDocument fix 4524

42 AcAxDocLock::lockStatus fix 5113

43 AcDb3dSolid:: extrudeAlongPath fix 3224

44 AcDb3dSolid::revolve fix 3224

45 AcDbDatabase::getSymbolTable fix 4435

46 AcDbDatabase::saveAs fix 256

47 AcDbDatabase::wblockCloneObjects fix 4402

48 AcDbDoubleClickEdit Class fix 4396

49 AcDbDynBlockReference::isDynamicBlock fix 4881

50 AcDbEntity::setDatabaseDefaults fix 3226

51 acdbEntMake fix 4323

52 AcDbHatch::getLoopAt fix 4155

53 AcDbHostApplicationServices::findFile fix 3592

54 AcDbLayoutManager::setCurrentLayoutId fix 3419

55 AcDbLeader::setDimldrblk fix 2327

56 AcDbMText ::setBackgroundFill fix 5092

57 AcDbObject::clone fix 4339

58 AcDbRegion::createFromCurves fix 4606

59 AcDbSortentsTable::moveAbove fix 4896

60 AcDbSortentsTable::moveBelow fix 4896

61 AcDbSortentsTable::moveToBottom fix 4896\1238

62 AcDbSortentsTable::moveToTop fix 4896

63 AcDbSymbolTable fix 3227

64 AcDbTable::setBlockTableRecordId fix 5155

65 acedCommand fix 5307\4159

66 acedGetAppName fix 4391

67 acedGetInput fix 5090

68 AcEdInputContextReactor::beginGetPoint fix 4535

69 AcEdInputContextReactor::endGetPoint fix 4535

70 AcEdInputPointMonitor::monitorInputPoint fix 4529\4534

71 AcEdJig::acquirePoint fix 5166

72 AcEdJig::drag fix 4437

73 AcEdJig::sampler fix 4611

74 acedRegFunc fix 4372

75 acedRegFunc fix 4401

12

76 acedRegisterOnIdleWinMsg fix 5034

77 acedXrefAttach fix 3076

78 AcGeCircArc3d::setAxes fix 4665

79 AcGeCurve3d::getNormalPoint fix 4306

80 AcGeCurve3d::paramAtLength fix 5292

81 acplCreatePlotProgressDialog fix 4583

82 CAcUiEdit Class fix 5075\2984

83 CAdUiEdit Class fix 2984

84 CAdUiPalette::OnKillActive fix 3587

85 CAdUiPaletteSet::AddContextMenuItems fix 3589

86 CAdUiPaletteSet::Create fix 3558

87 CAdUiPaletteSet::OnContextMenu fix 3585

88 CAdUiPaletteSet::SetName fix 3625

89 CAdUiPaletteSet::TitleBarLocation fix 3626

90 deleteAcRxClass fix 3825

1.6.2 .NET

Newly adds 4 .NET interface, and fixes 2 .NET interface bugs, details are as below:

No. API Type Bug ID

1 LispFunctionAttribute Class add 4324\5324

2 Application.PreTranslateMessage Event add 4636

3 Editor.SetLispSymbol Method add 4589

4 Editor.GetLispSymbol Method add 4589

5 Vector3d.GetNormal Method fix 4901

6 Polyline2d Constructor fix 4900

1.6.3 VBA

Newly adds 5 VBA interface, and fixes 18 VBA interface bugs, details are as below:

No. API Type Bug ID

1 AcadFileDependencies.Count Property add 5033

2 AcadFileDependencies.Item Method add 5033

3 AcadGroup.Count Property add 5066

4 AcadPreferencesOpenSave.SaveAsType Property add 5016

5 AcadPreferencesSystem.SingleDocumentMode

Property

add 5082/5018

6 AcadApplication.Quit Method fix 4595

7 AcadDocument.ActiveDimStyle Property fix 5073

8 AcadDocument.ActiveLayout Property fix 5104

13

9 AcadDocument.Import Method fix 4596

10 AcadDocument.SendCommand Method fix 4747

11 AcadGroup.Item Method fix 3296

12 AcadLayers.HasExtensionDictionary Method fix 4816

13 AcadLayers.Item Method fix 4944

14 AcadModelSpace.AddTable Method fix 4599

15 AcadModelSpace.AddText Method fix 5251

16 AcadPlotConfigurations.Add Method fix 5080

17 AcadSelectionSet.SelectByPolygon Method fix 4934

18 AcadUtility.GetEntity Method fix 3849

19 AllObject.TransformBy Method fix 4938

20 Textbox fix 4815

21 UserCoordinateSystems.Add Method fix 4922

22 ZcadAttribute.TagString Property fix 4388

23 ZcadTextStyle.Add Method fix 4471

1.6.4 LISP

Newly adds 2 LISP interface, and fixes 45 LISP interface bugs, details are as below:

No API Type Bug ID

1 acet-attsync add 4616

2 AcModelSpace、acAlignmentMiddleCenter add 5084

3 \ fix 3569

4 action_tile fix 3663

5 angtos fix 4170

6 command\close fix 4939

7 command\cmdecho fix 4530

8 command\undo fix 4699/3348

9 cond、progn fix 4812

10 dictremove fix 5296

11 entget fix 3656

12 entmake fix 4898/3575

13 eval fix 4510

14 function fix 4960

15 getpoint fix 5106

16 getstring fix 4527/3669

17 load fix 4664/4647

18 menucmd fix 4912/4641/352

19 menugroup fix 352

20 open fix 4513

21 slide_image fix 5268

22 ssget fix 4393

14

23 sslength fix 4709

24 vla-Add fix 5006

25 vla-Addlightweightpolyline fix 3579

26 vla-Addtext fix 4968

27 vla-AttTable fix 4526

28 vla-Copy fix 3566

29 vla-GetBoundingBox fix 3518

30 vla-GetCanonicalMediaNames fix 4906

31 vla-get-Drafting fix 3530

32 vla-get-SupportPath fix 4692

33 vla-GetXData fix 4903

34 vla-InsertBlock fix 4050

35 vla-put-closed fix 3580

36 vla-put-layeron fix 4684

37 vla-put-PlotType fix 4726

38 vla-put-Visible fix 4355

39 vla-remove fix 4892

40 vla-SetText fix 4948/4645

41 vla-setxdata fix 4681

42 vla-StartUndoMark fix 4633

43 vlax-dump-object fix 3665

44 vl-catch-all-apply fix 3527

45 vl-cmdf fix 3594

46 vl-position fix 3528

47 while fix 4627

15

2 Bug fixed Since the release ZWCAD 2017 SP1 version, more than 750 bugs have been fixed, some of which are listed as below:

ID Description T11708 OSNAP: osnap doesn’t work as expected in some cases T11905 SDI: system variable SDI is not varid T11585 SCRIPT: can’t execute specified script while starting ZWCAD

automatically. LISP: can’t trace back the lisp command line with ↑↓ key

PLOT: can’t add network printer T11609 EXTRUDE: can’t extrude polyline which is closed by snapping the starting

point. T11571 SUBSTRACT: command SUBSTRACT doesn’t work SLICE: command SLICE doesn’t work T11801 FILET: can’t add filet to 3D solid TOOLPALETTE: can’t launch tool palettes in some cases TOOLPALETTE: can’t display tool palettes correctly in some case T11864 TOOLPALETTE: can’t switch to the hided tabs T11648 TOOLPALETTE: insert blocks from tool palette, the block can’t adapt to

the drawing unit. T11934 COPY: the block in closed layer is copied. T11861 PROCESS: process ZWCAD.EXE still exist after the program is turned off T11896 MLINE: command MLINE right-click shortcut menu options don’t work T11662 PUBLISH: can’t publish multipage PDF T11853 DIMSTYLE: measurement scale in classic interface doesn’t work as

expected T11848 JOIN: duplicate lines exist after executing JOIN command T11808 STRETCH: can’t stretch leader T11703 INSERT: the result is wrong if Y scale is negative T11667 JOIN: can’t join line and arc T11683 LAYOUT: double click to change layout name, doesn’t support special

characters as layout name T11535 OPTIONS: import .ARG file doesn’t work T11509 VIEWPORT: can change viewport scale even it is locked T11371 OPERTION: time-sensitive right-click doesn’t work T11090 HATCH: the hatch is not associate with the boundaries T11267 REFEDIT: can’t edit blocks in attached drawing T11735 HATCH: can’t trim hatch with cycle as boundary.

16

3 Known Issues Some of the important known issues are listed as below: ID Description 4731 TOOLPALETTES: impossible to drag and drop drawings from windows

explorer to tool palette. TOOLPALETTES: impossible to customize a tool by right-click shortcut

menu 494 UCS: the direction is wrong while creating single line text under UCS JOIN: polyline disappears after joining two polylines together 5176 LAYOUT: add linear dimensions to the same entities by snapping in

layout space twice, dimension values are not the same 5300 LAYOUT; re-associate dimension in layout space to the objects in model

space, the dimension move to another place wrongly. UCS: command SCALE doesn’t work as expected under UCS 5264 ETRANSMIT: etransmit a drawing which contains XREF, the resulted

drawings’ XREF path is absolute path, it should be relative path.