ALTAStressProfile.GetSegments: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}} | {{APIComment|'Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}} | ||
Dim SP As New ALTAStressProfile("Profile1") | |||
{{APIComment|Add segments.}} | {{APIComment|'Add segments.}} | ||
SP.AddSegment(1, 250) | |||
SP.AddSegment(2, 300) | |||
SP.AddSegment(3, 400) | |||
{{APIComment|Get segments.}} | {{APIComment|'Get segments.}} | ||
Dim StressSegments() As [[ALTASegment Class|ALTASegment]] | |||
StressSegments = SP.GetSegments |
Revision as of 22:56, 11 April 2014
Returns an array of ALTASegment objects that define each segment in the profile.
Syntax
- GetSegments()As ALTASegment
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