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

AcDb3dSolid custom entity in AutoCAD2014

4 REPLIES 4
Reply
Message 1 of 5
vuhuuninh
601 Views, 4 Replies

AcDb3dSolid custom entity in AutoCAD2014

Hello all,

 

I have a project DBX define my 3dsolid object and an project ARX to use my object.

 

My custom solid object inherit from AcDb3dSolid class. and just draw a cylinder

 

On my ARX project I modify my object ( example : change the length of cylinder then update solid )

 

After a modify I do an UNDO command then my app crashed

 

It happends only for Autocad2014 - win7 32 bit with release build mode. The others mode (64bit or 32bit debug or others version of autocad : 2012, 2013 ) the undo does not crashed.

 

Is there any new technical on AutoCAD2014 need to updated?

 

I note that I have installed the hot fix for custom entity for AutoCAD2014 already.

 

When the app crashed my solid object is losing body and the message printout:

 

Modeling Operation Error..
I put the message to my dbx to find out what happend and it show me the app crashed at

 

dwgInFields function, the action error is : AcDb3dSolid::dwgInFields() = eGeneralModelingFailure

 

Any one can help me on this issue?

 

Any help would be appreciated.

 

4 REPLIES 4
Message 2 of 5
owenwengerd
in reply to: vuhuuninh

The problem is most likely due to a bug in your code that only gets exposed under specific conditions.

--
Owen Wengerd
ManuSoft
Message 3 of 5
fenton.webb
in reply to: vuhuuninh

Have you seen this post? http://adndevblog.typepad.com/autocad/2012/08/my-custom-entity-embedded-acdb3dsolid-not-displaying-a...




Fenton Webb
AutoCAD Engineering
Autodesk

Message 4 of 5
vuhuuninh
in reply to: fenton.webb

Thanks you. I have read this post already. It not solve my issue.
Message 5 of 5
Balaji_Ram
in reply to: vuhuuninh

If the hotfix installation and the changes from the blog post does not help, it could be a bug in your code as Owen already mentioned. If you provide a reproducible buildable sample project without any confidential information, I can take a look at 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 Design & Make Report

”Boost