I'm getting the following error when I try to modify the analysis parameters of an MES with nonlinear materials model: "Run-time error '91' Object variable or With block variable not set". Any help would be appreciated.
Steve
Autodesk Algor Simulation MES 2011
You can try the following method:
1. Select "Run..." from "Start" Menu on your PC.
2. Type "regedit" and press "Enter".
3. Find "HKEY_CURRENT_USER\Software\VB and VBA
Program Settings\Element Material Specification" folder in the registry editor tree.
4. Click on the "Element Material Specification" folder, then right click, and select "Delete" to delete the folder.
5. Close the registry editor and reboot your PC. Then re-run the software.
-Shoubing
Hi Steve
What version was the model originally created in and which version are you trying to modify it?
Regards,
Sam
Hi Steve,
I wanted to follow up and see if this issue was resolved. I have run across this from time to time and noticed it can occur when pushing a model from Solidworks to Simulation Mechanical. Is this similar to your experience. One method I have found to resolve the issue is to push the assembly to Fusion. Resave the model, then push it back into Simulation Mechanical. This forces some of the settings to be reconfigured, but appears to resolve the problem so the analysis can be completed.
If you are still experiencing this issue and would like some assistance feel free to contact Autodesk Support or respond to this thread. I would be glad to assist further.
Thanks,
Dean
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!
Hi Steve,
I am also experiencing this issue. I have deleted this database registry as suggested above and am working exclusively in Autodesk Inventor/Simulation and still am getting the error. The occurrence of the error seems to be when I prevent the solver from automatically reducing the size of the time step while solving.
While this can be avoided (and I would appreciate any tips people have for reducing sim time without this function!), it would be nicer to have the issue resolved in its entirety.
Thanks,
Max
This issue has been resolved in Simulation Mechanical 2017. Upgrading to the 2017 version will help to bypass this in the future.
If not able to upgrade to the 2017 version, the constant time step size can be turned off by editing the database manually using these steps:
______________________________________________________________
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!