Assembly Create with custom sheet metal template causes delayed crash

Assembly Create with custom sheet metal template causes delayed crash

chadhQZ262
Enthusiast Enthusiast
742 Views
5 Replies
Message 1 of 6

Assembly Create with custom sheet metal template causes delayed crash

chadhQZ262
Enthusiast
Enthusiast

Using the Assemble Create under the Component tab then selecting my sheet metal template causes an eventual crash. The sheet metal part will be created and inserted into the assembly. I can sometimes close the new part, update and save the assembly before the crash. After the part edit is done, I have 20 seconds or so before the crash. I am using the assembly to create an non adaptive sheet metal part. Using a non sheet metal part to do this does not cause a crash. I started a new test assembly and still get the crash if I use my sheet metal template. I have not seen this behavior until I added the "STRECH_OUT_RULE" rule and variables to report to custom iproperties. The forum and "SheetMetalRule" did not cause this error on there own. Before or now I haven't seen other problems with parts made with this template. I assume its my "STRECH_OUT_RULE" ilogic but there is no crash report. I could use some help troubleshooting this. I have the latest update of Inventor installed.

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

WCrihfield
Mentor
Mentor

Hi @chadhQZ262.  What does the "STRECH_OUT_RULE" do?  Is that rule being ran automatically when some specific event happens?  Are there any other rules being automatically ran when certain events happen that may be effecting the assembly or the sheet metal part?  If so, what events and what are the rules doing?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 6

chadhQZ262
Enthusiast
Enthusiast

The rule calculates the sheet metal stretch out length, width and area. These are exported user parameters, that are used later to calculate material used in the major assembly.

It is ran by The event triggers under

  • Any Model parameter Change
  • Any User Parameter Change
  • Part Geometry Change
  • Material Change

Sorry I thought I put the file in the original post.

It is there now.

Thanks for the help.

0 Likes
Message 4 of 6

chadhQZ262
Enthusiast
Enthusiast

Any ideas besides turn off the rule?

0 Likes
Message 5 of 6

WCrihfield
Mentor
Mentor

I'm still using Inventor Pro 2022.3.1, so when I downloaded and opened your part, it seemed to open OK, but it was empty.  No model, no local/internal iLogic rules or forms, and nothing in the Event Triggers dialog.  The first browser node after Origin stuff appears to be for a derived part, but if so, it is obviously missing its source model.  So there is no model or code to review.  If your part was created in Inventor 2023, that may be part of the reason it is empty for me, so I was hoping someone else who is using 2023 software would be able to review it and comment on their findings, since I was not able to.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 6 of 6

chadhQZ262
Enthusiast
Enthusiast
Thanks for trying.
The file is a sheet metal template with rules and a form but no model.
2022 must be the problem.
I have tried to open 2022 files using 2021 with similar results.

I believe the event trigger is the issue but I don't understand why I cannot use it, or how to change the code to prevent the crash.
0 Likes