.NET

.NET

Reply
Active Member
hongmei
Posts: 8
Registered: ‎04-18-2012
Message 11 of 13 (244 Views)

Re: Autocad 2013, plane cut solid3d, to get region, access region, autocad crash

04-04-2013 10:33 AM in reply to: Alexander.Rivilis

I am ADN member, they fixed my account today, I already post the question to them.

 

so, you found the problem, Thank you very much, sorry for confusing you by my bad code

 

how to get around this, not causing ACAD2013 crash, I don't mind ignore cutting some objects.

 

I will call obj.Dispose(),

Active Member
hongmei
Posts: 8
Registered: ‎04-18-2012
Message 12 of 13 (209 Views)

Re: Autocad 2013, plane cut solid3d, to get region, access region, autocad crash

05-03-2013 12:46 PM in reply to: hongmei

hello,

 

I wonder if you can help.

 

nobody can reproduce this error from Autodesk, you are the only one.

 

strange thing for me:

if I set breakpt in reg=sol.GetSection(pln) , 

run step by step, it won't crash, just throw exception here, and catch in here.

 

if no breakpt set, it will crash,

 

if set breakpt if (reg==null || reg.IsNull) , I can see the reg properties are not valid

 

 

not all the ACAD2013 behave the same. 

I have ACAD2013 on my virtual machine works fine. I tried to add all my other addins, still works

 

ACAD2013 on my real machine crashes, I removed all my other addins, still crashes

 

I need to find the reason, or find a solution to get around this, I can ignore cutting some objects

 

 

appreciate any help

 

 

Active Member
hongmei
Posts: 8
Registered: ‎04-18-2012
Message 13 of 13 (206 Views)

Re: Autocad 2013, plane cut solid3d, to get region, access region, autocad crash

05-03-2013 01:05 PM in reply to: Alexander.Rivilis

hello, Alex

 

I wonder if you can help.

 

nobody can reproduce this error from Autodesk, you are the only one.

 

strange thing for me:

if I set breakpt in reg=sol.GetSection(pln) ,

run step by step, it won't crash, just throw exception here, and catch in here.

 

if no breakpt set, it will crash,

 

if set breakpt if (reg==null || reg.IsNull) , I can see the reg properties are not valid

 

 

not all the ACAD2013 behave the same.

I have ACAD2013 on my virtual machine works fine. I tried to add all my other addins, still works

 

ACAD2013 on my real machine crashes, I removed all my other addins, still crashes

 

I need to find the reason, or find a solution to get around this, I can ignore cutting some objects

 

 

appreciate any help

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.