Dim strOutputUnitForDimension as String
'Get the application object -- 'Get Output Unit For Dimension strOutputUnitForDimension =
objOpenSTAAD.Output.GetOutputUnitForDimension
Output.GetOutputUnitForDisplacement
Output.GetOutputUnitForDisplacement
Returns output unit for translational displacements used by the GUI as a string and is set in the O ptions dialog box .
VB Syntax
VB Syntax
Output.GetOutputUnitForDisplacement Output.GetOutputUnitForDisplacement Unit Where: UnitA string containing the output unit for translational displacements. Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForDisplacement as String 'Get the application object --
'Get Output Unit For Displacement strOutputUnitForDisplacement =
objOpenSTAAD.Output.GetOutputUnitForDisplacement
Output.GetOutputUnitForDistForce
Output.GetOutputUnitForDistForce
Returns output unit for distributed forces used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForDistForce Output.GetOutputUnitForDistForce Unit Where: UnitA string containing the output unit for distributed forces.
Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForDistForce as String 'Get the application object --
'Get Output Unit For Distributed Force strOutputUnitForDistForce =
objOpenSTAAD.Output.GetOutputUnitForDistForce
Output.GetOutputUnitForDistMoment
Output.GetOutputUnitForDistMoment
Returns output unit for d istributed moments used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForDistMoment Output.GetOutputUnitForDistMoment Unit Where: UnitA string containing the output unit for distributed moments.
Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForDistMoment as String 'Get the application object --
'Get Output Unit For Distributed Moment strOutputUnitForDistMoment =
objOpenSTAAD.Output.GetOutputUnitForDistMoment
Output.GetOutputUnitForForce
Output.GetOutputUnitForForce
Returns output unit for forces (FX, FY, FZ) used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForForce Output.GetOutputUnitForForce Unit
Where:
Unit
A string containing the output unit for forces (FX, FY, FZ). Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForForce as String 'Get the application object -- 'Get Output Unit For Force
strOutputUnitForForce = objOpenSTAAD.Output.GetOutputUnitForForce
Output.GetOutputUnitForMoment
Output.GetOutputUnitForMoment
Returns output un it for m oments (MX, MY, MZ) used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForMoment Output.GetOutputUnitForMoment Unit Where: UnitA string containing the output unit for m oments (MX, MY, FZ). Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForMoment as String 'Get the application object -- 'Get Output Unit For Moment
strOutputUnitForMoment = objOpenSTAAD.Output.GetOutputUnitForMoment
Output.GetOutputUnitForRotation
Output.GetOutputUnitForRotation
Returns output unit for rotational displacement used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForRotation Output.GetOutputUnitForRotation Unit Where: UnitA string containing the output unit for rotational displacement. Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForRotation as String 'Get the application object -- 'Get Output Unit For Rotation
strOutputUnitForRotation = objOpenSTAAD.Output.GetOutputUnitForRotation
Output.GetOutputUnitForSectArea
Output.GetOutputUnitForSectArea
Returns output unit for cross sectional area used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForSectArea Output.GetOutputUnitForSectArea Unit Where: UnitA string containing the output unit for cross sectional area. Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForSectArea as String 'Get the application object -- 'Get Output Unit For Sectional Area
strOutputUnitForSectArea = objOpenSTAAD.Output.GetOutputUnitForSectArea 4.8 Output Results Functions
Output.GetOutputUnitForSectDimension
Output.GetOutputUnitForSectDimension
Returns output unit for cross sectional dimension(s) used by the GUI as a string and is set in the O ptions dialog box .
VB Syntax
VB Syntax
Output.GetOutputUnitForSectDimension Output.GetOutputUnitForSectDimension Unit Where: UnitA string containing the output unit for sectional dimension(s). Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForSectDimension as String 'Get the application object --
'Get Output Unit For Sectional Dimension strOutputUnitForSectDimension =
objOpenSTAAD.Output.GetOutputUnitForSectDimension
Output.GetOutputUnitForSectInertia
Output.GetOutputUnitForSectInertia
Returns output unit for sectional inertia used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForSectInertia Output.GetOutputUnitForSectInertia Unit Where: UnitA string containing the output unit for sectional inertia. Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForSectInertia as String 'Get the application object --
'Get Output Unit For Sectional Inertia strOutputUnitForSectInertia =
objOpenSTAAD.Output.GetOutputUnitForSectInertia
Output.GetOutputUnitForSectModulus
Output.GetOutputUnitForSectModulus
Returns output unit for sectional modulus used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForSectModulus Output.GetOutputUnitForSectModulus Unit Where: UnitA string containing the output unit for sectional modulus. Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForSectModulus as String 'Get the application object --
'Get Output Unit For Sectional Modulus strOutputUnitForSectModulus =
objOpenSTAAD.Output.GetOutputUnitForSectModulus
Output.GetOutputUnitForStress
Output.GetOutputUnitForStress
Returns output unit for stress used by the GUI as a string and is set in the Options dialog box.
VB Syntax
VB Syntax
Output.GetOutputUnitForStress Output.GetOutputUnitForStress Unit Where: UnitA string containing the output unit for stress.
Note:
Note: This is not a conversion un it used in accessing data through OpenSTAA D. Values are always returned in the u nits of t he base unit system, which can be obtained using the GetBaseUnit GetBaseUnit function function.
VB Example
VB Example
Dim strOutputUnitForStress as String 'Get the application object -- 'Get Output Unit For Stress
strOutputUnitForStress = objOpenSTAAD.Output.GetOutputUnitForStress
Output.GetPlateCenterNormalPrincipalStresses
Output.GetPlateCenterNormalPrincipalStresses
Returns Smax and Smin for Top and Bottom of the specified plate.
VB Syntax
VB Syntax
Output.GetPlateCenterNormalPrincipalStresses
Output.GetPlateCenterNormalPrincipalStresses PlateNo, LoadCase, SMAXTop, SMINTop, SMAXBottom, SMINBottom
Where:
PlateNo
A long variable contains plate element no.
LoadCase
A long variable contains load case no.
SMAXTop, SMINTop, SMAXBottom, SMINBottom
Double variables, which return the corresponding values for the center of the specified plate.
VB Example
VB Example
'Get the application object --
'GetPlateCenter Normal Principal Stresses
objOpenSTAAD.Output.GetPlateCenterNormalPrincipalStresses (lPlateNo, lLoadCase, dSMAXTop, dSMINTop, _
dSMAXBottom, dSMINBottom)
Output.GetPlateCenterVonMisesStresses
Output.GetPlateCenterVonMisesStresses
Returns plate center Von-Mises Top and Bottom for the specified plate and load case.
VB Syntax
VB Syntax
Output.GetPlateCenterVonMisesStresses
Output.GetPlateCenterVonMisesStressesPlateNo, LoadCase, VONT , VONB 4.8 Output Results Functions
Where:
PlateNo
A long variable contains plate element no.
LoadCase
A long variable contains load case no.
VONT, VONB
Double variables return the value of Von-Mises Top and Bottom for the specified plate center point.
VB Example
VB Example
'Get the application object --
'GetPlateCenterCenterVon-Mises Stresses
objOpenSTAAD.Output.GetPlateCenterVonMisesStresses (lPlateNo, lLoadCase, dVONT, dVONB)
Output.GetSupportReactions
Output.GetSupportReactions
Returns support reactions for the node number and load case specified.
VB Syntax
VB Syntax
Output.GetSupportReactions
Output.GetSupportReactions NodeNo, LoadCase, ReactionArray
Where:
NodeNo
Long variable contains the node number, which is supported.
LoadCase
Long variable contains the load case number.
ReactionArray
A long array of dimension 6, which returns support reactions.
VB Example
VB Example
'Get the application object -- 'Get Support Reaction
objOpenSTAAD.Output.GetSupportReactions (lNodeNo, lLoadCase, dReactionArray)
4.9 Results Tables Functions
4.9 Results Tables Functions
Table.AddTable
Table.AddTable
Adds a table to the specified ReportNo.
VB Syntax
VB Syntax
Table.AddTable
Table.AddTable ReportNo, szTableName, NumRows, NumCols
Where:
ReportNo
Long variable containing the report num ber to which t his table will be added.
szTableName
A null terminated string containing the name of the table.
NumRows, NumCols
Long variables providing the number of rows and columns of the table.
Return Value
Return Value
A long value containing the reference number for the table created to be used to access the table.
VB Example
VB Example
'Get the application object --
'Add table to report no 1 with 10 rows and 5 columns NumRows = 10
NumCols = 5
TableNo = objOpenSTAAD.Table.AddTable 1, "My Table", NumRows, NumCols
Table.CreateReport
Table.CreateReport
Creates a report with the specified title.
VB Syntax
VB Syntax
Table.CreateReport
Table.CreateReport"string szReportTitle"
Where:
szReportTitle
Return Value
Return Value
A long value containing the reference number for the report created to be used to access the report.
VB Example
VB Example
'Get the application object -- 'Create report
ReportNo = objOpenSTAAD.Table.CreateReport "My Report"
Table.DeleteTable
Table.DeleteTable
Deletes a table specified by TableNo in a report specified by ReportNo.
VB Syntax
VB Syntax
Table.DeleteTable
Table.DeleteTable ReportNo, TableNo
Where:
ReportNo
Long variable containing the report num ber from which a table is to be deleted.
TableNo
Long variable containing the table number to be deleted.
VB Example
VB Example
'Get the application object -- 'Delete Table
objOpenSTAAD.Table.DeleteTable ReportNo, TableNo
Table.GetCellValue
Table.GetCellValue
Gets a value in the cell of table at the specified row and column in a report.
VB Syntax
VB Syntax
Table.GetCellValue
Table.GetCellValue ReportNo, TableNo, RowNo, ColNo, szValue
Where:
ReportNo
Long variable containing the report number.
TableNo
Long variable containing the table number.