ALTAStressProfile.GetSegments

From ReliaWiki
Revision as of 22:05, 23 March 2017 by Kate Racaza (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
APIWiki.png


This method has been deprecated and may be removed in future versions of the Synthesis API. Do not use it in new applications.


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