OpenSTAAD V8i
This function returns the current visual mode in the STAAD.Pro environment.
Returns an integer value as per the following:
Dim bMode As Integer 'Get the application object -- bMode = staad.View.GetInterfaceMode()