Hello,
In my MATLAB script for HyperFEA I am in need of switching between Detailed Sizing and Final Analysis at various points within an iteration. But switching from detailed to final analysis using Assembly.AnalysisMode = 1 followed by Assembly.Size throws in an error. I've opened up the HS gui and noticed the above commands cause all the component dimensions to disappear in that assembly. This must be the reason for the error.
But when I use the gui to switch the analysis mode from detailed to final the component dimensions are set to the last results of the detailed analysis. Thus I am able to size the assembly just fine.
What would cause the switch to work in the gui but not using COM, and is there a way to avoid this error using COM?
Thanks,
Brandon