ALTADataSet.PlotUseStress: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Template:ALTADataSet.PlotUseStress.Cmt}} | {{Template:ALTADataSet.PlotUseStress.Cmt}} | ||
To set the use stress level for calculations, use the [[CModel.SetUseStress|SetUseStress]] method on | To set the use stress level for calculations, use the [[CModel.SetUseStress|SetUseStress]] method on [[ALTADataSet Class|ALTADataSet]].FittedModel. | ||
== Syntax== | == Syntax== |
Revision as of 19:52, 26 March 2014
Sets or gets the use stress value of a particular stress for use in plots (not calculations), using the specified stress index.
To set the use stress level for calculations, use the SetUseStress method on ALTADataSet.FittedModel.
Syntax
- PlotUseStress( Index As Integer )
Parameters
- Index: The index of the stress column (e.g., 0 = the first stress, 1 = the second, etc.).
Value
- Type: double
Usage Example
This example demonstrates how to add a stress and set its stress transformation.
'Declare the ALTADataSet. See ALTADataSet Constructors. Dim ALTADS as New ALTADataSet 'Add a new stress. ALTADS.AddStressDefinition("Stress1") 'Set the use stress level (to be used in plots) for the first stress. ALTADS.PlotUseStress(0) = 200