Stock model selection on second setup causes program crash

Anonymous

Stock model selection on second setup causes program crash

Anonymous
Not applicable

Hey fellow Autodesk CAM users! Not sure if this has been posted already so forgive me if it is.

 

I ran into an issue today where I create a second CAM setup in an Inventor assembly file and when I choose to select a model as the stock, then click the solid body from the tree, the program crashes.

0 Likes
Reply
Accepted solutions (1)
572 Views
8 Replies
Replies (8)

Anonymous
Not applicable

need to know your inventor and the HSM software versions.

0 Likes

Anonymous
Not applicable

Inventor build 227 and HSM 5.3.1.188

0 Likes

jeff.pek
Community Manager
Community Manager

Hi -

 

You didn't post the stock1.ipt component. Is that resolved for you? Or is the issue that you're selecting a body from an unresolved component?

 

Jeff

0 Likes

Anonymous
Not applicable

Whoops, I forgot to attach the file here. Here it is now.

0 Likes

jeff.pek
Community Manager
Community Manager

Hi -

 

I can reproduce this issue, and we will see if we can figure out how to fix it. Unfortunately I don't have a workaround suggestion at the moment. It's related to the graphics that are being shown for selection, etc., so I think it should be relatively straightforward to fix, once we can figure out what's happening.

 

Thank you for sharing the model.

 

Jeff

0 Likes

Anonymous
Not applicable

No problem. I just worked around it by making a new assembly for the second operation and placing the first operation assembly inside it. Thanks for the quick response!

0 Likes

jeff.pek
Community Manager
Community Manager
Accepted solution

After some investigation, it turns out that this crash is being triggered by the switch to Modeling view in the Inventor browser after starting the Setup command. Some graphics objects are being deleted out from underneath the addin, resulting in the problem when it tries to access them.

 

To avoid the problem, you can switch to modeling view before starting the command.

 

Jeff

0 Likes

Anonymous
Not applicable

Awesome, thank you Jeff!

0 Likes