.NET

Reply
Valued Contributor
FRFR1426
Posts: 75
Registered: ‎04-05-2012
Message 1 of 2 (230 Views)

SEHException with Editor.GetPoint

230 Views, 1 Replies
10-04-2012 08:29 AM

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?

 

 

 

 

ADN Support Specialist
Balaji_Ram
Posts: 701
Registered: ‎03-21-2011
Message 2 of 2 (189 Views)

Re: SEHException with Editor.GetPoint

10-09-2012 09:44 AM in reply to: FRFR1426

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.