Hide Table of Contents
GetPlotDefinition Method (ICWResults)

Gets the definition of the specified plot.

.NET Syntax

Visual Basic (Declaration) 
Function GetPlotDefinition( _
   ByVal SPlotName As System.String, _
   ByRef NPlotType As System.Integer, _
   ByRef NComponentName As System.String, _
   ByRef BNodal As System.Boolean, _
   ByRef BDeformed As System.Boolean, _
   ByRef DScaleFactor As System.Double _
) As System.Integer
Visual Basic (Usage) 
Dim instance As ICWResults
Dim SPlotName As System.String
Dim NPlotType As System.Integer
Dim NComponentName As System.String
Dim BNodal As System.Boolean
Dim BDeformed As System.Boolean
Dim DScaleFactor As System.Double
Dim value As System.Integer
value = instance.GetPlotDefinition(SPlotName, NPlotType, NComponentName, BNodal, BDeformed, DScaleFactor)
System.int GetPlotDefinition( 
   System.string SPlotName,
   out System.int NPlotType,
   out System.string NComponentName,
   out System.bool BNodal,
   out System.bool BDeformed,
   out System.double DScaleFactor
System.int GetPlotDefinition( 
&   System.String^ SPlotName,
&   [Out] System.int NPlotType,
&   [Out] System.String^ NComponentName,
&   [Out] System.bool BNodal,
&   [Out] System.bool BDeformed,
&   [Out] System.double DScaleFactor


Name of plot
Type of plot as defined in swsPlotResultTypes_e
Name of plotted component
True if plot is nodal, false if elemental
True if deformed, false if not
Scale factor for deformation

Return Value

Error as defined in swsResultsError_e



See Also


SOLIDWORKS Simulation API 2017 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:   GetPlotDefinition Method (ICWResults)
*   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) 2017 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.