ALTAGeneralOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:APIClass|ALTADataSet_Class|ALTADataSet}}
{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:ALTADataSet.GeneralSettings.Cmt}}


== Properties ==


*AllowLargeBetaValues (as ''boolean'') {{APIComment|{{Template:ALTAGeneralOptions.AllowLargeBetaValues.Cmt}}}}
Represents the calculation settings of the associated [[ALTADataSet Class|ALTADataSet]] object. Applies to the cumulative damage life-stress model only.  
*ImplementStressAtTheEndOfTheStep (as ''boolean'') {{APIComment|{{Template:ALTAGeneralOptions.ImplementStressAtTheEndOfTheStep.Cmt}}}}


== Usage Example ==
== Properties  ==
<div style="margin-right: 150px;">
{| {{APITable}}
  {{APIComment|'Set general settings}}
|-
  ADS.GeneralSettings.AllowLargeBetaValues = False
| style="width: 220px;"|AllowLargeBetaValues||Indicates whether the analysis allows beta values up to 250. '''Boolean'''. Default value = False (maximum beta value is 100).
  ADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False
|-
</div>
|ImplementStressAtTheEndOfTheStep||Applies to time-dependent stress profiles only. Indicates whether to apply the stress at the end of a segment. '''Boolean'''. Default value = False (the stress is applied at the beginning of the step).
|}
 
 
== Example ==
The following example demonstrates how to initialize the settings for a particular ALTADataSet object.
 
'''VBA|VB.NET'''
{{APIComment|'Declare a new ALTADataSet object.}}
  {{APIPrefix|Dim}} ADS {{APIPrefix|As New}} ALTADataSet
 
  {{APIComment|'Specify the settings.}}
  ADS.GeneralSettings.AllowLargeBetaValues = False
  ADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False

Latest revision as of 20:37, 24 June 2016

APIWiki.png


Member of: SynthesisAPI


Represents the calculation settings of the associated ALTADataSet object. Applies to the cumulative damage life-stress model only.

Properties

Name Description
AllowLargeBetaValues Indicates whether the analysis allows beta values up to 250. Boolean. Default value = False (maximum beta value is 100).
ImplementStressAtTheEndOfTheStep Applies to time-dependent stress profiles only. Indicates whether to apply the stress at the end of a segment. Boolean. Default value = False (the stress is applied at the beginning of the step).


Example

The following example demonstrates how to initialize the settings for a particular ALTADataSet object.

VBA|VB.NET

 'Declare a new ALTADataSet object. 
  Dim ADS As New ALTADataSet
 
 'Specify the settings. 
  ADS.GeneralSettings.AllowLargeBetaValues = False
  ADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False