.NET

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

SEHException with Editor.GetPoint

233 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: 749
Registered: ‎03-21-2011
Message 2 of 2 (192 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.