Migration Guide
We recommend to take a full backup of your project(s) including your existing Eyeshot 5.x DLL. To migrate your Eyeshot 5.x based application to Eyeshot 6.0, follow the steps below:
- Replace the Eyeshot 5.x DLL with the Eyeshot 6.0 one in your project references
- Open the Form hosting the Eyeshot control
- Select the Eyeshot control
- Look for the Viewports collection property in the Properties window
- Right-click and select Reset
- Save and close the designer
- Try to compile
Please note that:
- Blocks collection is now a Dictionary<string blockName, Block blockDef>
- Parameterization of Line, Circle, Arc, Ellipse and EllipticalArc entities has changed
- BlockReference.Explode() was moved to ViewportLayout.Entities.Explode()
- Transparency: inaccurate/blended one is now the default setting
- ViewportLayout.FastInaccurateTransparency was renamed to AccurateTransparency
- Surface.Trim() method parameters order has changes
- ICurve.Revolve() has a new parameters: startAngle and deltaAngle
- Surface.TrimLoops was renamed to Trimming and it's of Region type
- Untrimmed surfaces now have a rectangular trim loop
- Surface.ExtractEdge() does not accept -1 as contour index anymore
- Mesh.Sweep() now supports sharp rail corners
- File import is now executed asynchronously and many import function overrides are missing, see the Import/Export topic of the product documentation for more details.
- textureMinifingFunctionType enum was renamed to textureFilteringFunctionType
- MarchingCubes can now be run asynchronously
- Eyeshot can now be deployed with .NET Framework Client profile
- All user interface button styles can now be controlled via ViewportLayout.ButtonStyle property