Breaking Changes in Eyeshot version 2021

This page lists the important behavior and API changes that were introduced in this version. If you already have projects using devDept products, you will need to peruse this list in order to understand the changes you might need to make to your source code to support this new release.

 

What's New

To learn about what's new in this version, please refer to the following page: What's New

  • Hatch entity 
  • BOM and Balloons
  • Improved VectorView selection
  • ArcDimension import from DWG/DXF
  • Multi-file read/write
  • Lazy loading
  • Manufacture environment with classes for defining milling setups, tools, 2x and 3x milling strategies, leads & ramps, and stocks.
  • SimulationStock entity and material removal simulation
  • Accurate collision detection went under a complete refactoring and now is much faster (up to 40x)
  • ReadPDF class to import vector drawings from PDF documents
  • Redesigned Eyeshot control resize
  • ObjectManipulator label
  • WorkManager, an asynchronous WorkUnit queue manager.
  • NVidia Grid support
  • Improved small text rendering

 

Breaking Changes

BC-137 Removed the RadialDim.ShowCenterMark property Now we show the center mark only if CenterMarkSize is greater than 0.
BC-138 Hatch entity
  • Removed ReadAutodesk.SkipHatches and ReadAutodesk.HatchImportMode properties.
  • Changed ReadAutodesk constructors signature, removed the skipHatches and hatchImportMode parameters.
  • Removed HatchRegion class.
  • Changed UtilityEx.GetEntitiesStats() signature, added the hatchPatterns parameter.
BC-139 Black layers in Autodesk export

Black layers are now exported according to the WriteAutodeskParams.Foreground property, therefore as black by default. Previously they were always saved as foreground color (AutoCAD color index 7).

BC-140 Removed the "virtual" keyword from the Entity.Selected property Entity.Selected is no longer virtual.
BC-141 Removed ReadFile.FileHeaderInfo property Removed ReadFile.FileHeaderInfo property. Use the GetFileInfo() method instead.
BC-142 AddToScene / AddToSceneAsSingleObject
  • Removed all AddToSceneAsSingleObject methods.
  • Removed overloading method AddToScene that accepts layer and color as parameters.
  • Removed optional parameters removeJittering and blockName from AddToScene method.
BC-143 Removed Entity.IsSmall() method Entity.IsSmall() has been removed.
BC-144 Renamed BoundingBox class to BoundingBoxSettings BoundingBox class has been renamed as BoundingBoxSettings.
BC-145 Removed queue handling from ViewBuilder class in favor of the new class WorkManager Removed ViewBuilder.operatingType enum.
BC-146 Renamed Sheet.IsDirty property to HasChanged. Sheet.IsDirty has been renamed as HasChanged.
BC-147 Renamed LinePattern class to LineType
  • Renamed LinePattern to LineType
  • Renamed LinePatternSurrogate to LineTypeSurrogate
  • Renamed LinePatternEx to LineTypeEx
  • Renamed LinePatternExSurrogate to LineTypeExSurrogate
BC-148 Removed ReadAutodesk.Layouts property ReadAutodesk.Layouts property has been removed.
BC-149 Line entity is now compiled Line entity, like the other wire entities, is now compiled and not drawn on the fly. If you change the coordinates of its vertices, you have to regenerate the line to see the update.
BC-150 Removed CollisionDetection2D.GetCollisionVolumes property Now, to get the collision volume, you can call the method CollisionDetection2D.ComputeIntersectionVolume() at the end of the CollisionDetection2D.DoWork().
BC-151 Renamed WritePDF to Write3DPDF and WritePdfParams to Write3DPdfParams WritePDF has been renamed as Write3DPDF and WritePdfParams has been renamed as Write3DPdfParams.
BC-152 Removed active viewport's properties from Model Since they were only a shortcut for the active viewport's ones, we removed the following public properties from Model: Rotate, Zoom, Pan, DisplayMode, InitialView, Camera, ShowVertices, ShowVertexIndices, VertexSize, AutoHideLabels, Labels, ShowLabels.

 

Eyeshot version 2021 is based on .NET Framework 4.8

 

Previous versions of this article: Eyeshot 2020, Eyeshot 12Eyeshot 11Eyeshot 10Eyeshot 9

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.