ALTAGeneralOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


== Usage Example ==
== Usage Example ==
 
This example demonstrates how to set the GeneralSettings property of an [[ALTADataSet Class|ALTADataSet]] object.
{{APIComment|Declare the ALTADataSet. See [[ALTADataSet Constructors]] for additional details.}}
{{APIComment|'Declare the ALTADataSet. See [[ALTADataSet Constructors]].}}
        Dim ALTADS as New ALTADataSet
  Dim ALTADS as New ALTADataSet
 
 
{{APIComment|Set various settings.}}
{{APIComment|'Set GeneralSettings property.}}
        ALTADS.GeneralSettings.AllowLargeBetaValues = False
  ALTADS.GeneralSettings.AllowLargeBetaValues = False
        ALTADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False
  ALTADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False

Revision as of 23:25, 19 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.

 'Declare the ALTADataSet. See ALTADataSet Constructors. 
 Dim ALTADS as New ALTADataSet
 
 'Set GeneralSettings property. 
 ALTADS.GeneralSettings.AllowLargeBetaValues = False
 ALTADS.GeneralSettings.ImplementStressAtTheEndOfTheStep = False