ALTAGeneralOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 9: Line 9:
== Usage Example ==
== Usage Example ==
This example demonstrates how to set the GeneralSettings property of an [[ALTADataSet Class|ALTADataSet]] object.
This example demonstrates how to set the GeneralSettings property of an [[ALTADataSet Class|ALTADataSet]] object.
{{APIComment|'Declare the ALTADataSet. See [[ALTADataSet Constructors]].}}
 
  Dim ALTADS as New ALTADataSet
  {{APIComment|'Set general settings}}
 
   ADS.GeneralSettings.AllowLargeBetaValues = False
  {{APIComment|'Set GeneralSettings property.}}
   ADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False
   ALTADS.GeneralSettings.AllowLargeBetaValues = False
   ALTADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False

Revision as of 23:46, 26 March 2014


Sets some of the Application Setup calculation options that can apply to the ALTADataSet.Calculate method.

Properties

  • AllowLargeBetaValues (as boolean) Sets if large beta values should be used for a cumulative data model.
  • ImplementStressAtTheEndOfTheStep (as boolean) For time-varying stresses, defines the stress segment if time is the start of one and also the end of another segment.

Usage Example

This example demonstrates how to set the GeneralSettings property of an ALTADataSet object.

 'Set general settings 
 ADS.GeneralSettings.AllowLargeBetaValues = False
 ADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False