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.
BC-206 | Renamed GfxDrawForSelectionParams class | Renamed GfxDrawForSelectionParams class to DrawForSelectionParams and GfxEnvironmentParams class to GraphicsEnvironmentParams |
BC-205 | DWG 2D Solid entities | DWG/DXF 2D Solid entities are now imported as Hatch with Solid pattern |
BC-204 | Picture entity drawing | Now it's mandatory to specify:
myPicture.ColorMethod = byEntity; myPicture.Color = Color.FromArgb(254 /* or anything less than 255 */, 0, 0, 0)for Picture entities when their Image contains semi-transparent pixels. The value of myPicture.Color.A acts as a switch between opaque entities rendering and semi-transparent ( if A = 255 -> entity is opaque, else -> entity is transparent ) |
BC-203 | Removed LoadScene() and SaveScene() methods | Removed Workspace.LoadScene() and SaveScene() methods |
BC-202 | Changed signature of Viewport constructors | Removed SavedViewManager parameter |
BC-201 | Renamed ComputeDistances.Values property | Renamed ComputeDistances.Values property into Result |
BC-200 | Removed RegenParams.MaxLength property | Use CurveMesher class instead |
BC-199 | Moved GetEntityLineType() method | Moved static GetEntityLineType() method from Workspace to Entity class |
BC-198 | Removed Read3DS class | There are no official file format specifications that allow fixing of existing issues |
BC-197 | Renamed Autodesk enums | Renamed WriteAutodesk.versionType enum to devDept.Eyeshot.Translators.autodeskVersionType. Renamed WriteAutodesk.blockExportType enum to devDept.Eyeshot.Translators.autodeskExportType. Renamed blockSourceType enum to autodeskSourceType. |
BC-196 | Removed ReadAutodesk.OnApplicationExit() method | No longer needed |
BC-195 | Setup.AddUserInterfaceElementTo() method | Replaced Setup.AddUserInterfaceElementTo() method with Manufacture/Viewport.AddUserInterfaceElementFor() |
BC-194 | Changed signature of PointCloud class constructor | From PointCloud(int numPoints, float pointSize, PointCloud.natureType nature) to PointCloud(int numPoints, natureType nature, float pointSize) |
BC-193 | Renamed GetPolygonMeshes() method | Renamed IFace.GetPolygonMeshes() method to GetTessellation() |
BC-192 | Changed signature of Camera.ComputeOffsetOnCameraAxes () method | From ComputeOffsetOnCameraAxes(Point3D pt, Point2D m1, Point2D m2, Point2D minQ, Point2D maxQ) to ComputeOffsetOnCameraAxes(Point3D pt, PointF m1, PointF m2, ref PointF minQ, ref PointF maxQ) |
BC-191 | Removed GEntity class | GEntity class and inherit classes have been abandoned in favor of a new architecture. The same is true for IGCurve, IGFace, etc. interfaces. |
BC-190 | Eyeshot / Eyeshot.Control separation |
(Added extension methods Image.ToByteArray(), Image.CreatePicture(), Image.CreateMaterial() and Image.CreateMarchingSquares() )
|
BC-189 | Drawing.Rebuild() method | In Eyeshot 2023, even when the async param is true, the results are added to the Drawing workspace. Previously, the customer had to manually call ViewBuilder.AddToDrawing() method when the ViewBuilder work was completed. |
BC-188 | Removed BlockEx, LayerEx, TextStyleEx, LineTypeEx, SheetEx, FileSerializerEx, BlockExKeyedCollection classes | BlockReferenceEx, CurveEx, LinearPathEx, Ole2Frame, and XLine classes are now available in Eyeshot instead of Autodesk assembly. BlockEx, LayerEx, TextStyleEx, and LineTypeEx classes have been removed and their properties are respectively added to Block, Layer, TextStyle, and LineType. FileSerializerEx and BlockExKeyedCollection have been removed because now useless. Added FileSerializerWithLabels for customers that need Labels definitions for their extended format. |
BC-187 | Mouse3DSettings changes | devDept.Eyeshot.Control.Mouse3DSettings class has been redesigned: only one (parameterless) constructor is now available; instead of three different PanSpeed, RotateSpeed, and ZoomSpeed properties, we now have a single, unified SpeedFactor (whose values work on a different scale). |
BC-186 | Removed FemMesh parameterless constructor | No longer needed |
BC-184 | Removed SketchManager.ProjectedCurvesColor property | |
BC-183 | Removed SketchCurve.Projected property | |
BC-182 | LicenseManger.Unlock() method | LicenseManger.Unlock() method now accepts only the serial number as a string parameter |
BC-181 | ViewportLayout and Model obsolete classes | ViewportLayout and Model obsolete classes now derive from Design. In the earlier version, they derived from Simulation (for Fem edition). |
Eyeshot version 2023 is based on .NET Framework 4.7.2 or .NET6 or .NET6-Windows.
Previous versions of this article: Eyeshot 2022, Eyeshot 2021, Eyeshot 2020, Eyeshot 12, Eyeshot 11, Eyeshot 10, Eyeshot 9
Comments
The list seems to be incomplete.
I just started migrating our software to Eyeshot 2023 and it seems the ComputeTessellation method that used to exist for GBreps does not exist for the Brep class. There is a "GetTessellation" method, but that does not have any parameters for required tolerances etc. Same is true for the Curve class: GCurve had a method called ComputeTessellation, The Curve class doesn't have that method or any other method that would seem related to getting a linear approximation to the curve.
Some other minor changes I could figure out myself (for example the change in the SelectionChangedEventArgs ctor signatures), but this one really has me stumped. I found a CurveMesher work unit class that seems, at least from its parameters, to compute a linear approximation of a curve, but I really hope I don't have to create a work unit instance whenever I need the linear approximation of a curve or a triangulation of a Brep face, so I really hope there's something obvious I'm just missing.
Hello Matthias,
You are right, please call the Brep.Regen(deviation) to obtain the same effect.
CurveMesher is a really simple class we are creating new all the time even during tessellation of our own types. You can even replace it with your own implementation.
Matthias how go?? because im almost finish 10 days still not finish the migration
its not only Gbrep go but also the surface its not always can extract from face.parametric and in some case its rise exeption( i have many many cases
need pass one by one)
also the Brep inteersction ,now if solution its "UnknownFailure" its will change the parent(Brep) face parametr to null
hope for you its more easy
Hello Yaakov,
We offered to migrate your projects for free in front of your eyes and you declined, so there is no reason to complain.
Please sign in to leave a comment.