ALTAStressProfile.Clear

From ReliaWiki
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


Deletes all segments in the stress profile.

Syntax

.Clear()

Example

VBA

 'Declare a new ALTADataSet object. 
  Dim ALTADS As New ALTADataSet
 
 'Declare a new ALTAStressProfile object. 
  Dim sp As New ALTAStressProfile
 
  sp.RepeatCycle = True
  Call sp.AddSegment(1, 250)
  Call sp.AddSegment(2, 300)
  Call sp.AddSegment(3, 400)
 
 'Clear all segments in the profile. 
  Call sp.Clear()
VB.NET

 'Declare a new ALTADataSet object. 
  Dim ALTADS As New ALTADataSet
 
 'Declare a new ALTAStressProfile object. 
  Dim sp As New ALTAStressProfile

  sp.RepeatCycle = True
  sp.AddSegment(1, 250)
  sp.AddSegment(2, 300)
  sp.AddSegment(3, 400)
 
 'Clear all segments in the profile. 
  sp.Clear()