ALTAStressProfile Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
    
    
  {{APIComment|'Add the stress profile. See [[ALTADataSet.AddStressProfile|AddStressProfile]].}}
  {{APIComment|'Add the stress profile. See [[ALTADataSet.AddStressProfile|AddStressProfile]].}}
   '''ALTADS.AddStressProfile(sp)'''
   ALTADS.AddStressProfile(sp)

Revision as of 23:05, 11 April 2014


Constructors

Methods

Properties

  • Name (as string) Gets the name of the stress profile.
  • RepeatCycle (as string) If set to true, cycles through the segments. Otherwise continues from the last stress.

Usage Example

 'Declare an ALTADataSet object. See New ALTADataSet. 
 Dim ALTADS as New ALTADataSet
 
 'Declare an ALTAStressProfile object. 
 Dim sp = New ALTAStressProfile("Profile1")
 sp.RepeatCycle = True
 sp.AddSegment(1, 250)
 sp.AddSegment(2, 300)
 sp.AddSegment(3, 400)
 
 'Add the stress profile. See AddStressProfile. 
 ALTADS.AddStressProfile(sp)