OpenSTAAD V8i
This function modifies the named views of the currently open .STD file.
Where:
A string variable that will hold the name of the view to be modified.
An long variable that will hold number of entities.
A long variable that will hold the flag value depending upon which the view will be modified.
A long variable that will hold the error number if the view cannot be modified.
Dim objOpenSTAAD As Object
Dim strViewName As String
Dim intEntities As Integer
Dim lEntityNo as Long
Dim lEntityQualifier as Long
Dim lFlagVal as Long
Dim lErrorVal as Long
'Set the application object
Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
objOpenSTAAD. ModifyNamedView strViewName, intEntities, lEntityNo, lEntityQualifier, _
lFlagVal, lErrorVal