Hide Table of Contents
AddFatigueEventForRandomVibration Method (ICWFatigueStudyOptions)

Adds a random vibration fatigue event.

.NET Syntax

Visual Basic (Declaration) 
Function AddFatigueEventForRandomVibration( _
   ByVal SAssociatedStudyName As System.String, _
   ByVal DDuration As System.Double, _
   ByVal NUnitTime As System.Integer, _
   ByRef ErrorCode As System.Integer _
) As CWFatigueEvent
Visual Basic (Usage) 
Dim instance As ICWFatigueStudyOptions
Dim SAssociatedStudyName As System.String
Dim DDuration As System.Double
Dim NUnitTime As System.Integer
Dim ErrorCode As System.Integer
Dim value As CWFatigueEvent
 
value = instance.AddFatigueEventForRandomVibration(SAssociatedStudyName, DDuration, NUnitTime, ErrorCode)
C# 
CWFatigueEvent AddFatigueEventForRandomVibration( 
   System.string SAssociatedStudyName,
   System.double DDuration,
   System.int NUnitTime,
   out System.int ErrorCode
)
C++/CLI 
CWFatigueEvent^ AddFatigueEventForRandomVibration( 
&   System.String^ SAssociatedStudyName,
&   System.double DDuration,
&   System.int NUnitTime,
&   [Out] System.int ErrorCode
) 

Parameters

SAssociatedStudyName
Name of the reference linear dynamic random vibration study
DDuration
Duration of the random loading input for this fatigue event
NUnitTime
  • 0 = seconds
  • 1 = minutes
  • 2 = hours
  • 3 = days
  • ErrorCode
    Error code as defined in swsFatigueEventEndEditError_e

    Return Value

    ICWFatigueEvent

    Remarks

     

    See Also

    Availability

    SOLIDWORKS Simulation API 2015 SP3


    Provide feedback on this topic

    SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

    * Required

     
    *Email:  
    Subject:   Feedback on Help Topics
    Page:   AddFatigueEventForRandomVibration Method (ICWFatigueStudyOptions)
    *Comment:  
    *   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

    Print Topic

    Select the scope of content to print:

    x

    We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

     Never show this message again
    x

    Web Help Content Version: API Help (English only) 2015 SP05

    To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

    To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.