Hide Table of Contents
ExportSimulationStudy Method (ICWStudy)

Exports this study to the specified finite-element analysis program.

.NET Syntax

Visual Basic (Declaration) 
Function ExportSimulationStudy( _
   ByVal sLocationPath As System.String, _
   ByVal SFileName As System.String, _
   ByVal nFormat As System.Integer, _
   ByVal NNodeOffset As System.Integer, _
   ByVal NElementOffset As System.Integer, _
   ByVal NOption As System.Integer, _
   ByVal nUnit As System.Integer _
) As System.Integer
Visual Basic (Usage) 
Dim instance As ICWStudy
Dim sLocationPath As System.String
Dim SFileName As System.String
Dim nFormat As System.Integer
Dim NNodeOffset As System.Integer
Dim NElementOffset As System.Integer
Dim NOption As System.Integer
Dim nUnit As System.Integer
Dim value As System.Integer
 
value = instance.ExportSimulationStudy(sLocationPath, SFileName, nFormat, NNodeOffset, NElementOffset, NOption, nUnit)
C# 
System.int ExportSimulationStudy( 
   System.string sLocationPath,
   System.string SFileName,
   System.int nFormat,
   System.int NNodeOffset,
   System.int NElementOffset,
   System.int NOption,
   System.int nUnit
)
C++/CLI 
System.int ExportSimulationStudy( 
&   System.String^ sLocationPath,
&   System.String^ SFileName,
&   System.int nFormat,
&   System.int NNodeOffset,
&   System.int NElementOffset,
&   System.int NOption,
&   System.int nUnit
) 

Parameters

sLocationPath
Path to which to export this study
SFileName
Name of file to which to export this study
nFormat

If nOption is swsStudyExportOption_e... nFormat is...
swsStudyExport_Cosmos Export option as defined by swsCosmosExportOption_e
swsStudyExport_Nastran Format in which to export this study as defined by swsNastranExportOption_e
swsStudyExport_Abacus, swsStudyExport_Ansys, swsStudyExport_Exodus, swsStudyExport_IdeasUniversal, or swsStudyExport_PatranNeutral Not valid

NNodeOffset
Starting node for exported data; the lowest node label in the generated file is NNodeOffset + 1
NElementOffset
Starting element for exported data; the lowest element label in the generated file is NElementOffset + 1
NOption
Finite-element analysis program to which to export as defined by swsStudyExportOption_e
nUnit

If nOption is swsStudyExportOption_e... nUnit is...
swsStudyExport_Cosmos Defined by swsLinearUnit_e
swsStudyExport_Nastran Defined by swsNastranExportUnit_e
swsStudyExport_Abacus, swsStudyExport_Ansys, swsStudyExport_Exodus, swsStudyExport_IdeasUniversal, or swsStudyExport_PatranNeutral Not valid

Return Value

Error as defined in swsStudyExportError_e

Example

 

See Also

Availability

SolidWorks Simulation API 2014 SP0


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:   ExportSimulationStudy Method (ICWStudy)
*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) 2014 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.