Materials import crashing Mechanical?
willblatt
Member Posts: 13
**
Working on an issue that was crashing my Mechanical sessions down to these 2 lines. It only crashes on the 2nd or 3rd run (while in a single session). What's strange is running New()
repeatedly on its own doesn't crash it, nor does running theImport()
command repeatedly on its own. It's only when they're both run together does it kill Mechanical.
ExtAPI.DataModel.Project.New() Model.Materials.Import("C:/path/to/material.xml")
Any ideas?
The XML file contains a single material definition.
Ansys Mechanical 2023R2
Tagged:
0
Answers
-
I should note, this is in Mechanical stand-alone mode. Just tried it in Workbench Mechanical and it doesn't crash there.
0 -
I don’t have an answer for this but you should also contact your local support due to crash behavior. This indicates some form of a bug.
1