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)
System.int ExportSimulationStudy( 
   System.string SLocationPath,
   System.string SFileName,
   System.int NFormat,
   System.int NNodeOffset,
   System.int NElementOffset,
   System.int NOption,
   System.int NUnit
System.int ExportSimulationStudy( 
&   System.String^ SLocationPath,
&   System.String^ SFileName,
&   System.int NFormat,
&   System.int NNodeOffset,
&   System.int NElementOffset,
&   System.int NOption,
&   System.int NUnit


Path to which to export this study
Name of file to which to export this study

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

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

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



See Also


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

Subject:   Feedback on Help Topics
Page:   ExportSimulationStudy Method (ICWStudy)
*   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:


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

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.