Blog


Learn about industry trends, news and how-tos from our product experts.

Miscellaneous

NuGet package: Local Package Source

Eyeshot is distributed via NuGet packages, which include support for .NET Framework 4.7.2, .NET 6, .NET 7, and .NET 8. This article aims to provide a detailed guide on handling NuGet packages. Visual Studio projects can be distinguished between SDK-style projects and Legacy projects. Since SDK-styl…

by Federico Fucci | January 18, 2024 | Share

Miscellaneous

Add 3D mouse support to an MFC application

A 3D mouse is an input device used by CAD users. If you are hosting one of Eyeshot's WinForms controls within an MFC application, you'll notice that your 3D mouse won't work at all. The problem Eyeshot WinForms controls process 3D-mice-related Windows Messages by implementing the IMessageFilter int…

by Stefano Volpe | June 16, 2023 | Share

Miscellaneous

Shortcut menus (ContextMenuStrip/ContextMenu) and the 3D mouse

A 3D mouse is an input device used by some CAD users. After a 3D mouse is detected for the first time, whenever the user right-clicks on an Eyeshot control with their (standard) mouse the normal shortcut menu is repopulated with navigation options specific for 3D mice. Please be aware that Eyeshot …

by Stefano Volpe | April 28, 2023 | Share

Miscellaneous

Add to scene as single object

The following code is a sample of the main steps to insert the contents of a file inside a Block and create a BlockReference that refers to it. ReadSTEP readFile = new ReadSTEP(fileName); readFile.DoWork(); // Merge the master collections loaded from the file with the Environment ones // In case o…

by Simone Maccaferri | November 04, 2020 | Share

Miscellaneous

Multi-file and lazy loading

Eyeshot 2021 introduces a new feature that allows you to save the entire scene to multiple files using the Eyeshot proprietary file format. With this feature, you have the flexibility to work on a file representing a single component and observe its changes when loading the entire assembly (video),…

by Marcello Stagni | October 09, 2020 | Share

Miscellaneous

Eyeshot issues with Infragistics controls

Issue 1: Docking control and draw overlay If you need to customize the Eyeshot control by drawing a text in the overlay, you will get an error during docking/undocking operations with Infragistics control. To overcome this, you can use the below trick: using System.Runtime.InteropServices; class My…

by Marcello Stagni | May 26, 2020 | Share

Miscellaneous

Eyeshot WPF multitouch

Starting from Eyeshot 2020 WPF, the handler for touch gestures is the native one.In this way, we can avoid disabling the RealTimeStylus support from the application Window by default. On the other hand, in order to manage multitouch in an efficient way*, you can still use WM TOUCH events just by se…

by Marcello Stagni | January 08, 2020 | Share

Miscellaneous

WM TOUCH: Enable multitouch on Eyeshot WPF control when added programmatically

For the Eyeshot WPF control,  when the ImmediateMode is not activated but the property model1.MultiTouch.UseWindowsMessages is set to true and you need to add the Eyeshot control programmatically, you need the below code in the main window constructor to make it work. public MainWindow() { Init…

by Marcello Stagni | January 08, 2020 | Share

Miscellaneous

WM TOUCH: Enable multitouch for the other WPF controls

For the Eyeshot 2020 WPF control, in order to manage multitouch in an efficient way when the ImmediateMode is not activated, you can set model1.MultiTouch.UseWindowsMessages = true in the MainWindow constructor.As a side-effect, this disables the RealTimeStylus support from the application Window c…

by Marcello Stagni | January 08, 2020 | Share

Miscellaneous

Entity.AutodeskProperties

Starting from Eyeshot 2020, we introduced a new property of type AutodeskMiscProperties of the Entity class called AutdoeskProperties. This class gathers inside it some miscellaneous Autodesk properties such as curve thickness, the thickness extrusion direction, and the entity XData.  Now to read a…

by Antonio Spagnuolo | December 13, 2019 | Share