ALTAStressProfile.AddSegment: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Template:API}}{{Template:APIBreadcrumb|.[[ALTAStressProfile_Class|ALTAStressProfile]]}}
{{Template:API}}{{Template:DeprecatedAPI}}{{Template:APIBreadcrumb|.[[ALTAStressProfile_Class|ALTAStressProfile]]}}





Revision as of 15:33, 23 March 2017

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


Adds a new segment to the stress profile.

Syntax

.AddSegment(SegmentEnd, Stress) 

Parameters

SegmentEnd

Required. Double. The time at the end of this segment.

Stress

Required. Double. The stress value during this segment.


Example

VBA

 'Declare an ALTAStressProfile object. 
 Dim sp As New ALTAStressProfile
 
 'Add segments. 
 Call sp.AddSegment(1, 250)
 Call sp.AddSegment(2, 300)
 Call sp.AddSegment(3, 400)
VB.NET

 'Declare an ALTAStressProfile object. 
 Dim sp As New ALTAStressProfile
 
 'Add segments. 
 sp.AddSegment(1, 250)
 sp.AddSegment(2, 300)
 sp.AddSegment(3, 400)