Inventor 2017 Crashing while accessing from External App

Inventor 2017 Crashing while accessing from External App

b_sharanraj
Advocate Advocate
492 Views
5 Replies
Message 1 of 6

Inventor 2017 Crashing while accessing from External App

b_sharanraj
Advocate
Advocate

I'm Developing an External Application using Vb.net to Customize my product. But while Accessing the Parts its Crashing sometime and sometimes it doesn't Crash...

 

Error Report Says as

 

Problem signature:
Problem Event Name: APPCRASH
Application Name: Inventor.exe
Application Version: 21.0.14200.0
Application Timestamp: 56cecd56
Fault Module Name: StackHash_ceea
Fault Module Version: 6.1.7601.23455
Fault Module Timestamp: 573a54b7
Exception Code: c0000374
Exception Offset: 00000000000bf262
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 16393
Additional Information 1: ceea
Additional Information 2: ceea51176f37491b4dea1354118191fc
Additional Information 3: 5193
Additional Information 4: 5193f88ae2abe922afb794cfd36d150a

 

Thanks in Advance...

Regards

B.Sharan Raj

0 Likes
493 Views
5 Replies
Replies (5)
Message 2 of 6

Owner2229
Advisor
Advisor

Hey, it would be useful if you posted the code you're using to access Inventor (or at least part of it).

Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods
0 Likes
Message 3 of 6

b_sharanraj
Advocate
Advocate

I have figured out the exact issue as what happening.

 

There is no issue while changing Model & User Parameters from an External Application but if any User Parameters type is Text and it has been changed there comes the issue.

 

I'm using the below Code for changing the Text Parameter.

 

Create a New Part and add a Text Type User Parameter and name it as "Text_Param" and Just run the below code and try to close the Part Manually Inventor Starts Crashing.

 

Public InvApp As Inventor.Application
InvApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application")

Dim oParameters As Inventor.Parameters

oParameters = InvApp.ActiveDocument.ComponentDefinition.Parameters

oParameters.Item("Text_Param").Expression = """Text"""

InvApp.ActiveDocument.Update()

Regards

B.Sharan Raj

0 Likes
Message 4 of 6

JaneFan
Autodesk
Autodesk

Hello @b_sharanraj,

 

Thank you very much for your findings and report. This issue is reproducible and will be tracked in our internal system.




Jane Fan
Inventor/Fusion QA Engineer
0 Likes
Message 5 of 6

b_sharanraj
Advocate
Advocate

 

@JaneFan

 

Hope it'll get rectified soon 🙂

 

Regards,

B.Sharan Raj

Regards

B.Sharan Raj

0 Likes
Message 6 of 6

JaneFan
Autodesk
Autodesk

Sorry for the inconvenience. We will check the issue and get it fixed as soon as possible.




Jane Fan
Inventor/Fusion QA Engineer
0 Likes