The following table summarizes the most probable compilation errors/issues you will encounter plugging-in the new Eyeshot DLL in your application.
| # |
Issue |
Fix |
| 1 |
Missing Viewport.Action property |
Was renamed to ActionMode |
| 2 |
Missing Viewport.actionType enum |
Was renamed to viewportActionType |
| 3 |
Missing Viewport.ResetZoom() / ResetPan() / ResetRotate() methods |
Dropped, see Viewport.Camera property |
| 4 |
Missing ViewportStandard.IsoView() / FrontView() / SideView() / TopView() methods |
Renamed to SetCameraView() |
| 5 |
Missing Viewport.RescaleModel() method |
Dropped, not needed anymore. Try using ViewportStandard.ZoomFit() or changing the Viewport.Camera.Distance value. |
| 6 |
Missing Viewport.ShadingMode property |
Renamed to Viewport.DisplayMode |
| 7 |
Missing Viewport.shadingType enum |
Renamed to viewportDisplayType |
| 8 |
Missing shadingType.Orientation enum |
Dropped, see Viewport.Backface.ColorMode |
| 9 |
Missing Viewport.BackFaceCulling property |
Dropped, see Viewport.Backface.ColorMode |
| 10 |
Missing Viewport.ProjectionMode property |
Moved in Viewport.Camera property |
| 11 |
Missing Viewport.projectionType enumy |
Renamed to cameraProjectionType |
| 12 |
Missing Viewport.ShowOrigin property |
See Viewport.OriginSymbol.Visible property |
| 13 |
Missing Entity.Move() method |
Renamed to Translate() |
| 14 |
Missing Viewport.CameraToModelDistance property |
See the Viewport.Camera.Distance property |
| 15 |
Missing Viewport.FieldOfViewAngle property |
See the Viewport.Camera.FocalLength property |
| 16 |
Missing Viewport.EdgeThickness property |
See the Viewport.Camera.Edge.Thickness property |
| 17 |
Missing Viewport.PointSize property |
See the Standard.Point.Thickness property |
| 18 |
Missing Viewport.ShowControl property |
See the Nurbs.Curve.ShowControl and Nurbs.Surface.ShowControl properties |
| 19 |
Missing Entity.Move() / MoveX() / MoveY() / MoveZ() methods |
Replaced by Translate() |
| 20 |
Missing Viewport.Zoom() / Pan() / Rotate() methods |
Renamed to ZoomCamera() / PanCamera() / RotateCamera() |
| 21 |
Missing Viewport.ZoomFactor() method |
See Viewport.Camera.ZoomFactor property |
| 22 |
Missing Vector3D.xAxis / yAxis / zAxis properties |
Renamed to Vector3D.AxisX / AxisY / AxisZ |
| 23 |
Missing Transformation.Reset() method |
Transformation logic is completely changed (see box above) and this method is not needed any more. Its replacement would be Identity(). |
| 24 |
Different Mesh.MakeFace() parameters |
Now all overrides accept a Plane instead of normal or xAxis and yAxis parameters |
| 25 |
Missing Viewport.TextEntityFont property |
Was moved to Viewport.Entities.Font |
| 26 |
Missing ViewportStandard.ZoomFitMargin property |
Dropped |
| 27 |
Missing Viewport.ModelWidth, ModelDepth, ModelHeight |
Dropped, they can now be obtained using the Viewport.Entities.BoxMin and BoxMax properties |
| 28 |
Empty entity array using ViewportProfessional.ReadAutodesk(), ReadBinarySTL(), ReadOBJ() and ViewportNurbs.ReadIGES() |
These functions now return a collection of entities or a single entity. You need therefore to add to the master entity array the returned object. |
| 29 |
Missing Viewport.ShowExtents property |
See Viewport.BoundingBox.Visible property |
| 30 |
Missing Texture class and Viewport.Textures collection |
See the Material class and Viewport.Materials collection |
| 31 |
Missing parameters in MulticolorOnVerticesMesh class constructor |
You now need only to pass the number of vertices then use the MulticolorOnVerticesMesh.SetVertex() / GetVertex() methods to access vertices data |
| 32 |
Missing parameters in MulticolorPointCloud class constructor |
You now need only to pass the number of points then use the MulticolorPointCloud.SetPoint() / GetPoint() methods to access point data |
| 33 |
Missing Geometry.Matrix class |
Dropped. If you were using some of its methods, just ask us the source code. |
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|