In VB.NET "OPENSTAAD API" is used.
I want to analyze.
The following method will stop when a warning came out.
# In help #
Dim objOpenSTAAD As Object
'Get the application object
Set objOpenSTAAD = GetObject (, "StaadPro.OpenSTAAD")
'Run Analysis
objOpenSTAAD.Analyze()
I Always want to choose (Y).
But do not want to interrupt.
I found VB.NET object browser
Sub AnalyzeModel(ByVal varEngine As Object)
objOpenSTAAD.AnalyzeModel ("")
The warning comes out.
Not help it, do not know the arguments and behavior.
Please tell me, thank you.
Use the following command before executing the 'AnalyzeModel' routine to bypass the confirmation dialogs.
objOpenSTAAD.SetSilentMode 1
However, the above will not work if use the following routine for running the analysis.
objOpenSTAAD.Analyze