ALTAStressProfile.GetSegments: Difference between revisions

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




<onlyinclude>Returns an array of [[ALTASegment Class|ALTASegment]] objects that represent each segment in the stress profile. </onlyinclude>
<onlyinclude>Returns an array of [[ALTASegment Class|ALTASegment]] objects that represent the segments in the stress profile. </onlyinclude>


== Syntax ==
== Syntax ==

Revision as of 17:45, 24 June 2016

APIWiki.png


Member of: SynthesisAPI.ALTAStressProfile


Returns an array of ALTASegment objects that represent the segments in the stress profile.

Syntax

.GetSegments()


Example

VBA

 'Declare a new ALTAStressProfile object. 
 Dim SP As New ALTAStressProfile
 
 'Add segments. 
 Call SP.AddSegment(1, 250)
 Call SP.AddSegment(2, 300)
 Call SP.AddSegment(3, 400)
 
 'Get segments. 
 Dim StressSegments() As ALTASegment
 StressSegments = SP.GetSegments
VB.NET

 'Declare a new ALTAStressProfile object. 
 Dim SP As New ALTAStressProfile
 
 'Add segments. 
 SP.AddSegment(1, 250)
 SP.AddSegment(2, 300)
 SP.AddSegment(3, 400)
 
 'Get segments. 
 Dim StressSegments() As ALTASegment
 StressSegments = SP.GetSegments