ALTAStressProfile Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|ALTADataSet Class|ALTADataSet}}  
{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:ALTAStressProfile Class.Cmt}}


==Constructors==
*[[ALTAStressProfile Constructors|ALTAStressProfile]] {{APIComment|Creates a new ALTAStressProfile object.}}
*[[ALTAStressProfile Constructors|ALTAStressProfile( String )]] {{APIComment|Creates a new ALTAStressProfile object with the specified name.}}


== Methods==
Represents a time-dependent stress profile.
*[[ALTAStressProfile.AddSegment|AddSegment( Double, Double )]] {{APIComment|{{Template:ALTAStressProfile.AddSegment.Cmt}}}}
 
*[[ALTAStressProfile.GetSegments|GetSegments]] {{APIComment|{{Template:ALTAStressProfile.GetSegments.Cmt}}}}
== Constructor  ==
*[[ALTAStressProfile.Clear|Clear]] {{APIComment|Deletes all segments in the profile.}}
{| {{APITable}}
|-
| style="width: 180px;"|ALTAStressProfile||Creates an instance of the ALTAStressProfile class.
|-
|[[ALTAStressProfile Constructors|ALTAStressProfile()]]||{{:ALTAStressProfile Constructors}}
|}
 
 
== Methods  ==
{| {{APITable}}
|-
| style="width: 180px;"|[[ALTAStressProfile.AddSegment|AddSegment]]||{{:ALTAStressProfile.AddSegment}}
|-
|[[ALTAStressProfile.GetSegments|GetSegments()]]||{{:ALTAStressProfile.GetSegments}}
|-
|[[ALTAStressProfile.Clear|Clear]]||ALTAStressProfile.Clear
|}
 


== Properties ==
== Properties ==
*Name (as ''string'') {{APIComment|{{Template:ALTAStressProfile.Name.Cmt}}}}
{| {{APITable}}
*RepeatCycle (as ''string'') {{APIComment|{{Template:ALTAStressProfile.RepeatCycle.Cmt}}}}
|-
| style="width: 180px;"|Name||Gets or sets the name of the stress profile. '''String'''.
|-
|RepeatCycle||Indicates whether to cycle through the segments; otherwise, continues from the last stress. '''Boolean'''.
|}
 
 
 


== Usage Example ==


{{APIComment|'Declare an ALTADataSet object. See [[ALTADataSet Class|ALTADataSet]].}}
==See Also==
  Dim ALTADS as New ALTADataSet
*[[ALTADataSet.AddStressProfile|ALTADataSet.AddStressProfile Method]]
 
{{APIComment|'Declare an ALTAStressProfile object and define its segments.}}
  Dim sp = New ALTAStressProfile("Profile1")
  sp.RepeatCycle = True
  sp.AddSegment(1, 250)
  sp.AddSegment(2, 300)
  sp.AddSegment(3, 400)
 
{{APIComment|'Add the stress profile. See [[ALTADataSet.AddStressProfile|AddStressProfile]].}}
  ALTADS.AddStressProfile(sp)

Revision as of 21:23, 19 April 2016

APIWiki.png


Member of: SynthesisAPI


Represents a time-dependent stress profile.

Constructor

Name Description
ALTAStressProfile Creates an instance of the ALTAStressProfile class.
ALTAStressProfile()   Deprecated   A parameterized constructor for the ALTAStressProfile class. (.NET only)


Methods

Name Description
AddSegment   Deprecated   Adds a new segment to the stress profile.
GetSegments()   Deprecated   Returns an array of ALTASegment objects that represent the segments in the stress profile.
Clear ALTAStressProfile.Clear


Properties

Name Description
Name Gets or sets the name of the stress profile. String.
RepeatCycle Indicates whether to cycle through the segments; otherwise, continues from the last stress. Boolean.



See Also