Programe software proiectare si calcul in arhitectura ZWCAD
ZWCAD 2023
SP2
PRODUCT RELEASE NOTES
THE ZWSOFT TEAM
ZWSOFT 丨 2022/11/30
1
Welcome to ZWCAD 2023 SP2!
Dear friends,
We are glad to tell you that ZWCAD 2023 SP2 is available now! Thanks to your valuable
feedback for the previous version, ZWCAD 2023 SP2 now comes with significant new
features and improvements. Now, let’s take a look at this version.
This Release Notes mainly introduce the new features and improvements in ZWCAD 2023
SP2.
Yours sincerely,
The ZWSOFT Team
November 2022
2
Contents
Overview ............................................................................................................................................. 4
Efficiency ............................................................................................................................................. 4
Stability ................................................................................................................................................ 4
New Features .........
............................................................................................................................ 5
Lasso Selection ........................................................................................................................... 5
Advanced Ordinate Dimension ............................................................................................ 7
Improvements ................................................................................................................................... 9
Optimized File Compare Function ..................................................................................... 9
Optimized Installation Process......................................................................................... 10
Enriched ZRXSDK samples ................................................................................................. 10
New Command & System Variables ..............................................................
.........................10
APIs......................................................................................................................................................14
ZRX ................................................................................................................................................ 14
.NET .............................................................................................................................................. 16
VBA ............................................................................................................................................... 16
LISP ............................................................................................................................................... 17
Bug Fixes ...........................................................................................................................................17
3
ZWCAD 2023 SP2 Release Notes
Overview
ZWCAD 2023 SP2
has the following new features and improvements:
New Features
Description
A new mode for selecting objects, enabling
Lasso Selection
designers to select objects in irregular positions
more easily.
Advanced Ordinate
Dimension
Quickly create coordinate dimensions with richer
dimension styles, and support for adding
dimensions in batches.
Improvements
Optimized File Compare
function
Description
The efficiency, correctness, and ease of use of the
file compare function have been further
optimized.
A large number of secondary development sample
Enriched ZRXSDK samples
programs have been added to help developers
better understand how to use the APIs of ZWCAD.
Optimized Installation
Process
User experience of installation has been improved
in terms of interface display and other aspects.
Efficiency
In this version, the efficiency of general operations was about the same as that of
the previous version, while the efficiency of the file compare function has been
greatly improved.
Th
e File Compare function has mainly 2 improvements:
1. The efficiency is improved when comparing large-sized drawings.
2. The efficiency is improved when switching compare filter of text or revcloud,
there are no more delays.
Stability
4
The following section describes the stability tests in this release.
The R&D Center has tested over 1871 drawings for Open/Save test. The test
result was the same as that of ZWCAD 2023 SP1, that is, 99.63% of the drawings
could be opened and saved correctly. In summary, ZWCAD 2023 SP2 remains
stable.
New Features
Lasso Selection
Lasso selection is a new way to select objects. Compared with the traditional way
of selecting objects, the lasso selection can create an irregular selection range to
select multiple objects more flexibly.
As shown in the example in the figure below, if users choose the traditional
selection mode, it is impossible to select four identical plants at the same time.
Using the lasso selection, Users can freely create an irregula
r selection area to
successfully select objects.
5
Figure 1. Lasso selection could create an irregular area to select objects
There are 3 modes for lasso selection, “Window”, “Fence” and “Crossing”. Users can
switch the mode by pressing the "Space” button during selection. Meanwhile, lasso
selection supports the preview effect. When the user selects an object, the selected
objects will be highlighted.
Figure 2. Switch mode by pressing the “Space” button during selection
Figure 3. The selected objects will be highlighted
When the user needs to select multiple objects in a large and complex drawing, the
6
lasso selection can be used to select objects more freely and flexibly.
Advanced Ordinate Dimension
Professionals from various industries need to use ordinate dimensions when they
are drawing, but the existing ordinate dimensioning function has only one style,
an inappropriate layout, and weak practicability. The coordinate dimension
created by the advanced o
rdinate dimension function has better style, which
greatly saves more space in the drawing than the existing dimensions. It makes the
drawing look neater, and users can read the information more clearly.
Figure 4. Advanced ordinate dimensions have a more user-friendly style.
To meet the needs of ordinate dimensions in different design scenarios, we also
provide a wealth of styles for designers to choose from. Designers can modify the
dimension’s arrow shape, text style, prefix style, and so on. In addition, it also
provides the ability to create dimensions in different coordinate systems.
7
Figure 5. Designers can customize the dimension style and set the coordinate system
When designers need to add a large number of ordinate dimensions, they can
create ordinate dimensions in batches. Currently, batch ordinate dimension can be
used in three types of objects: "polyline", "circle" and "block reference". The
dimensions data on the drawing can also be exported to a notepad, which i
s
convenient for data storage and reuse.
Figure 6. Add multiple dimensions for polyline at one time
Figure 7. Coordinate data can be exported to a .txt file
8
Improvements
Optimized File Compare Function
Designers often need to update versions of the drawings when they are drawing,
and sometimes they may forget the differences between the two versions. Using
the file compare function can automatically and quickly locate the differences
between the drawings and help designers locate problems.
In this version, four aspects of the file compare function have been optimized:
1. We improved the efficiency of comparison between large-scale and complex
drawings and the comparison time was reduced. We have avoided, in most
cases, the possibility that the program has no response due to too large
drawings or too many complex entities.
2. The efficiency of switching filters has been improved. Switching can be
performed smoothly when opening or closing the "Text" filter or modifying the
revisi
on cloud type on the panel.
Figure 8. Use “Text” filter and revision cloud more smoothly.
3. The correctness of the file comparison has been optimized. We have fixed the
coloring errors and the too-big bounding boxes during the comparing process
of mtext, mleader, dimension, block reference, etc.
Figure 9. The problem of too-big bounding boxes was fixed.
4. The ease of use of the function has been improved. a status bar will appear
when comparing files. Users can modify the color of the revision cloud on the
ribbon. Tooltips are added to the setting panel of File Compare.
Figure 10. The progress bar will be displayed during file compare
9
Figure 11. The color of the revision cloud can be changed on ribbon and tooltips are added.
Enriched ZRXSDK samples
New sample programs have been added in the SDK, so that developers can learn
better and easier to use the APIs of the ZWCAD platform to develop add-ons.
Figure 12. This version adds a total of 61 sample programs
Optimized I
nstallation Process
Installation is the first step for users to meet the software, so a good installation
experience is necessary.
In this version, the display mode and content of the installation log have been
optimized. Compared with the past version, it is easier to find the installation log,
and the content of the log has also been optimized. The content is divided into
three types of information: "Warning", "Info", and "Error", which is convenient for
users to quickly locate installation errors.
10
Figure 13. Easily find the installation log
Figure 14. Installation failure information will show here
Besides that, a FAQ page is shown when the installation fails. On this page you can
find the installation failure reason and the corresponding solution.
11
Figure 15. A FAQ page will be seen when the installation fails
12
Figure 16. Corresponding solutions can be found in FAQ page
New Command & System Variables
New Command
EXDIMORDINATE
CONVERTPOLY
Description
Enhanced coor
dinate dimension.
Convert between light and heavy polylines in
drawing.
New System Variables
Description
Control maximum display number of preview
SELECTIONPREVIEWLIMIT
highlighted obeject when use windows lasso or
cross lasso to select objects.
ZWREOPENACTION
TXTEXPSWITCH
Control behavior of opening opened drawings.
Control text’s explode effect.
13
OBJECTISOLATIONMODE
Control whether isolate/hide objects keep in hide
status when switching drawings.
APIs
ZRX
3 were added, 33 were fixed:
State
Interface
Add
bool AcDbSpatialFilter::isInverted() const;
Add
Acad::ErrorStatus AcDbSpatialFilter::setInverted(bool bInverted);
Add
bool AcDbObjectId::isResident() const;
Fix
Acad::ErrorStatus AcDbFace::getPlane(AcGePlane& plane, AcDb::Planarity&
planarity) const;
Fix
Acad::ErrorStatus AcDbDatabase::wblock(AcDbDatabase* pOutputDb, const
AcDbObjectIdArray& outObjIds, const AcGePoint3d& basePoint,
AcDb::DuplicateRecordCloning drc);
Fix
int acedGetInt(const ACHAR * prompt,
int * result);
Fix
Acad::ErrorStatus AcDbDatabase::insert(AcDbObjectId& blockId, const
ACHAR* pBlockName, AcDbDatabase* pDb, bool preserveSourceDatabase =
true);
Fix
Acad::ErrorStatus AcDbDatabase::wblockCloneObjects(const
AcDbObjectIdArray& objectIds, const AcDbObjectId& owner,
AcDbIdMapping& idMap, AcDb::DuplicateRecordCloning drc, bool
deferXlation = false);
Fix
Acad::ErrorStatus AcDbMText::text(AcString & sText) const;
Fix
int acutPrintf(const ACHAR * format, ...);
Fix
Acad::ErrorStatus AcDbLayerTable::getAt(const ACHAR* entryName,
AcDbLayerTableRecord*& pRec, AcDb::OpenMode openMode =
AcDb::kForRead, bool openErasedRec = false) const;
Fix
void AcGsView::update();
14
Fix
Acad::ErrorStatus AcDbHatch::getArea(double& a) const;
Fix
Acad::ErrorStatus AcEdInputPointMonitor::monitorInputPoint(const
AcEdInputPoint& input, AcEdInputPointMonitorResult& output);
Fix
CWnd* acedGetAcadDockCmdLine();
Fix
void AcDbEntity::setDatabaseDefaults(AcDbDatabase* pDb);
Fix
Acad::
ErrorStatus AcDbHostApplicationServices::
selectFile(short * userCancel, ACHAR *& chosenPath, void* h, const int
nFlags, const ACHAR * prompt, const ACHAR * dir, const ACHAR * name,
const ACHAR * type, int* pnChoice, bool* pbReadOnly, const ACHAR *
pszWSTags, AcStringArray* pReserved);
Fix
Acad::ErrorStatus AcDbDwgFilerwriteString(const ACHAR* pVal);
Fix
Acad::ErrorStatus AcDbDatabase::readDwgFile(const ACHAR* fileName,
OpenMode shmode = kForReadAndReadShare, bool bAllowCPConversion =
false, const wchar_t* wszPassword = nullptr);
Fix
Acad::ErrorStatus AcDbText::setField(const ACHAR* pszPropName,
AcDbField* pField, AcDbObjectId& fieldId);
Fix
OPMPropertyExtension*
OPMPropertyExtensionFactory::CreateOPMObjectProtocol(AcRxClass*
pClass, LONG lReserved = 0) = 0;
Fix
void
AcApDocManagerReactor::documentLockModeWillChange(AcApDocument*,
AcAp::DocLockMode myCurrentMode, AcAp::DocLockMode myNewMode,
AcAp::DocLockMode currentMode, const ACHAR* pGlobalCmdName);
Fix
void AcEdInputCont
extReactor::beginDragSequence(const ACHAR*);
Fix
void AcEdInputContextReactor::endDragSequence(Acad::PromptStatus,
AcGePoint3d&, AcGeVector3d&);
Fix
void AcEditorReactor::commandEnded(const ACHAR* cmdStr);
Fix
int acedSSGet(const ACHAR * str, const void * pt1, const void * pt2, const
struct resbuf * filter, ads_name ss);
Fix
Acad::ErrorStatus AcDbPolyline::getPointAtParam(double, AcGePoint3d&)
const;
15
Fix
void AcGiSubEntityTraits::setLayer(const AcDbObjectId layerId);
Fix
Adesk::Boolean AcDbShape::worldDraw(AcGiWorldDraw * wd);
Fix
void acplPublishExecute(AcPlDSDData dsdDataObj, AcPlPlotConfig* pConfig,
bool bShowPlotProgress);
Fix
void AcDbDatabase::disableUndoRecording(bool disable);
Fix
int acedGetKword(const ACHAR * prompt, ACHAR * result, size_t nBufLen);
Fix
Acad::ErrorStatus AcDbTable::generateLayout();
Fix
int acedGetInt(const ACHAR * prompt, int * result);
Fix
void AcEditorReactor::beginDoubleClick(const AcGePoint3d& clickPoint);
Fix
AcRxObject* A
cRxClass::addX(AcRxClass*, AcRxObject*);
.NET
1 were added and 5 were fixed:
State
Add
Interface
IdMapping.GetEnumerator Method
Fix
GeometryOverrule.GetGeomExtents Method
Fix
Editor.PointFilter Event
Fix
UpdateDataLink Method
Fix
Editor.SelectWindowPolygon(Point3dCollection) Method
Fix
Polyline.ConvertTo Method
VBA
1 were fixed:
State
Interface
1
Application.PreTranslateMessage Event
16
LISP
12 were fixed:
State
Interface
Fix
ssget
Fix
vl-sort
Fix
vl-sort-i
Fix
vlax-get-property
Fix
vlax-invoke
Fix
vl-catch-all-apply
Fix
initget
Fix
dos_find
Fix
command
Fix
dos_proplist
Fix
grdraw
Fix
entsel
Bug Fixes
For the complete list, please refer to:
https://www.dropbox.com/s/cdxlxs3nfcpw7ih/Bug%20Fixlist_ZWCAD%20202
3_SP2.xlsx?dl=1
17
Alte documentatii ale aceleasi game Vezi toate
Instructiuni montaj, utilizare 14 p | EN