Eyeshot is a CAD control for .NET Framework developed by devDept Software. It's integrated into Visual Studio toolbox for WinForms and WPF applications and it targets OpenGL and Direct3D graphics libraries.
Questions tagged [eyeshot]
105 questions
0
votes
0 answers
Buttons stop responding to touch after viewportlayout has been loaded
I have an app running on Windows tablets. In some situations, possibly with more complex drawings, touch on the app becomes disabled once the ViewportLayout has been loaded.
I load the ViewportLayout on demand creating the UI on demand. Before this…

ac66
- 49
- 1
- 7
0
votes
0 answers
How to determine if a Text is in the extent of a LinearPath
How to determine if a Text is in the extent of a LinearPath?
I don't know how to get the location of Text and LinearPath.

Anders Chen
- 83
- 3
- 7
0
votes
1 answer
Close a Mesh in EyeShot
I'm triying to merge 2 meshes in EyeShot to calculate the volume of the intersecction and difference between this solid and another one. I need the resulting mesh to be closed.
I try this to merge the meshes.
List lpoint3D = new…
0
votes
2 answers
Getting object reference error on a base.Method() in release mode
I'm using Eyeshot 12 to render a 3D Model for my app. The model works fine in debug mode, but throws an object reference error if I try to zoom in on the model using the mouse wheel in release mode.
This is my model so far (using try-catch to stop…

Gudarzi
- 486
- 3
- 7
- 22
0
votes
1 answer
How to rotate a region in Eyeshot so that its plane normal is equal to a vector?
I need to draw a prism between 2 point. So I have defined a Region like this:
Region r1 = Region.CreateRectangle(Model.Width, Model.Height);
r1.Translate(point1);
Now I need to rotate r1 to face point2 and then…

Gudarzi
- 486
- 3
- 7
- 22
0
votes
0 answers
I would like to know why the description of the step file is changed
I open and use the .step file exported from eyeshot. The exported .step
file seems to change the property information as shown below.
Example:
FILE_DESCRIPTION(('STEP AP214'),'1');
-> FILE_DESCRIPTION(('STEP AP203'),'2;1');
The reason I…

Moon
- 16
- 1
0
votes
0 answers
Does Eyshot have any function to auto join the lines?
Given 3 lines as shown in the image, I would like to automatically make them connect to each other to a single point, given some threshold for movement. Assuming that the other endpoint cannot be moved. I am trying to find some functions but I…

N.TW12
- 241
- 2
- 11
0
votes
1 answer
How do I force the cursor to move Horizontally Drafting Demo 2022.2 using Shift Key?
In the drawing DrawInteractive mode, I understand there is a snap option design1.GridSnapEnabled = true; for the MyDesign:Design design1 to ensure the line can be drawn as a straight line. However for the case when my start point is not on the grid…

N.TW12
- 241
- 2
- 11
0
votes
1 answer
Is it possible to create a new Block from a VectorView of a 3D model?
Assume I have a 3D model imported from a step file. I have
Design design1 to work with a 3D imported model.
Drawing drawing where I create my 2D VectorView topView
Design design2 where I work on my actual design
I would like to create a Block from…

N.TW12
- 241
- 2
- 11
0
votes
1 answer
Eyeshot Sketcher Demo 2022.2 - how to change the position of a dimension constraint?
This is a current look of a dimension where the text is placed completely above the dimension line. How do I change the text position so it is placed at the middle of the dimension line? This may require some opacity setting so the the dimension…

N.TW12
- 241
- 2
- 11
0
votes
1 answer
Is it possible to implement an infinitive grid?
I am searching for a 2D.Net package to replace some basic functions of AutoCAD (the company I work for has multiple licenses of AutoCAD but what people do are quite simple and I think the compmay get rid of AutoCAD licensing cost). One of the things…

N.TW12
- 241
- 2
- 11
0
votes
1 answer
Intersection of Entities
I want to create a while loop to Translate some entities which have intersections with each other. But the Entity.Intersects() method is protected. Is there any other solution to find intersections with Eyeshot methods?
My entities are Region in…

Mohicode
- 1
- 4
0
votes
1 answer
How to handle error ": 'Control's handle must be created first.'"?
I ran into an error Control's handle must be created first. The code returns the error
model1.SetView(viewType.Trimetric, true, false);
I already tried model1.CreateControl(); before the code above executed but still same error.

N.TW12
- 241
- 2
- 11
0
votes
1 answer
How to properly convert Solid.Section() results into Regions in Eyeshot?
When trying to get a section of a devDept.Eyeshot.Entities.Mesh or devDept.Eyeshot.Entities.Solid using the .Section(Plane, double) method, we get an ICurve[].
If the result is multiple closed curves, to draw the ICurve[], I convert all the ICurves…

Gudarzi
- 486
- 3
- 7
- 22
0
votes
1 answer
How to merge two Regions in EyeShot?
I'm working on a program where I need to merge two devDept.Eyeshot.Entities.Regions.
Is there a method or function built in EyeShot to do this automatically, or should I do it manually?

Gudarzi
- 486
- 3
- 7
- 22