.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SEHException with Editor.GetPoint

1 REPLY 1
Reply
Message 1 of 2
FRFR1426
439 Views, 1 Reply

SEHException with Editor.GetPoint

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
1 REPLY 1
Message 2 of 2
Balaji_Ram
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost