SEHException with Editor.GetPoint

SEHException with Editor.GetPoint

FRFR1426
Collaborator Collaborator
562 Views
1 Reply
Message 1 of 2

SEHException with Editor.GetPoint

FRFR1426
Collaborator
Collaborator

I'm using Editor.GetPoint on AutoCAD 2010 x86 SP2. Sometimes, I've got this exception:

 

System.Runtime.InteropServices.SEHException: Un composant externe a levé une exception.

à acedGetPoint(Double* , Char* , Double* )

à Autodesk.AutoCAD.EditorInput.PromptPointOptions.DoIt()

à Autodesk.AutoCAD.EditorInput.Editor.DoPrompt(PromptOptions opt)

à Autodesk.AutoCAD.EditorInput.Editor.GetPoint(PromptPointOptions options)

 

And I finish with an AutoCAD message: FATAL ERROR : Out of memory - Application terminated (translated from French).

 

The calling code is like this (called from a loop):

 

var ed = Application.DocumentManager.MdiActiveDocument.Editor;

PromptPointOptions ppo = new PromptPointOptions(message);

if (useBasePoint) {

  ppo.BasePoint = basePoint.TransformBy(ed.CurrentUserCoordinateSystem.Inverse());

  ppo.UseBasePoint = true;

  ppo.UseDashedLine = true;

}

PromptPointResult ppr = ed.GetPoint(ppo);

 

It happens only on some computers. We are thinking of a bug with the graphics card (NVidia Quadra FX 1700). Does somebody already have this kind of problem?

 

 

 

 

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
0 Likes
563 Views
1 Reply
Reply (1)
Message 2 of 2

Balaji_Ram
Alumni
Alumni

I’m very sorry, but there are no concrete suggestions I can give you based on the information you have provided. Code problems are very often specific to the context in which the code is running.

I have searched our call tracking and bug report databases and don’t see a report of this as a known problem.

 

Please would you send us a small sample project to demonstrate the context in which you see this error ?

 

 I will see if I can reproduce the problem or spot anything that might be causing it.



Balaji
Developer Technical Services
Autodesk Developer Network

0 Likes