ALTAStressProfile.GetSegments: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


== Syntax ==
== Syntax ==
*GetSegments()
*GetSegments(){{APIPrefix|As}} [[ALTASegment Class|ALTASegment]]


== Usage Example ==
== Usage Example ==

Revision as of 19:57, 1 April 2014


Returns an array of ALTASegment objects that define each segment in the profile.

Syntax

Usage Example

Declare an ALTAStressProfile. See ALTAStressProfile for additional details.

       Dim SP As New ALTAStressProfile("Profile1")

Add segments.

       SP.AddSegment(1, 250)
       SP.AddSegment(2, 300)
       SP.AddSegment(3, 400)

Get segments.

       Dim StressSegments() As ALTASegment
       StressSegments = SP.GetSegments