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 10: | Line 10: | ||
{{APIPrefix|As Integer}} | {{APIPrefix|As Integer}} | ||
) | ) | ||
</li></ul> | </li></ul> | ||
Parameters | Parameters | ||
:''Index'': The index of the stress column (e.g., 0 = the first stress, 1 = the second, etc.). | :''Index'': The index of the stress column (e.g., 0 = the first stress, 1 = the second, etc.). | ||
Return Value | |||
:Type: ''double'' | |||
== Usage Example == | == Usage Example == |
Revision as of 22:37, 26 February 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 FittedModel.SetUseStress method.
Syntax
- PlotUseStress( Index As Integer )
Parameters
- Index: The index of the stress column (e.g., 0 = the first stress, 1 = the second, etc.).
Return Value
- Type: double
Usage Example
Declare the ALTADataSet. See New ALTADataSet for additional details.
Dim ALTADS as New ALTADataSet
Declare an ALTAStressProfile. See ALTAStressProfile for additional details.
Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)
Add the stress profile. See ALTADataSet.AddStressProfile for additional details
ALTADS.AddStressProfile(sp)
Set the Use Stress level for the stress profile.
ALTADS.PlotUseStress(0) = 200