Hide Table of Contents
IGetMiddleSurface Method (IBody2)

Inserts a midsurface in a body.

.NET Syntax

Visual Basic (Declaration) 
Function IGetMiddleSurface( _
   ByVal PlacementPercentage As System.Double, _
   ByRef Face1List As System.Object, _
   ByRef Face2List As System.Object, _
   ByRef Thickness As System.Object, _
   ByRef MiddleSurfaceBody As Body2 _
) As System.Integer
Visual Basic (Usage) 
Dim instance As IBody2
Dim PlacementPercentage As System.Double
Dim Face1List As System.Object
Dim Face2List As System.Object
Dim Thickness As System.Object
Dim MiddleSurfaceBody As Body2
Dim value As System.Integer
 
value = instance.IGetMiddleSurface(PlacementPercentage, Face1List, Face2List, Thickness, MiddleSurfaceBody)
C# 
System.int IGetMiddleSurface( 
   System.double PlacementPercentage,
   out System.object Face1List,
   out System.object Face2List,
   out System.object Thickness,
   out Body2 MiddleSurfaceBody
)
C++/CLI 
System.int IGetMiddleSurface( 
&   System.double PlacementPercentage,
&   [Out] System.Object^ Face1List,
&   [Out] System.Object^ Face2List,
&   [Out] System.Object^ Thickness,
&   [Out] Body2^ MiddleSurfaceBody
) 

Parameters

PlacementPercentage
Position where to insert the midsurface in the body; value of 50 indicates to insert the surface in the middle
Face1List
Array of faces into which the midsurface will be or was inserted; you can provide an array of faces for this parameter and Face2List; if you do not, then the faces are determined internally
Face2List
Array of faces into which the midsurface will be or was inserted; you can provide an array of faces for this parameter and Face1List; if you do not, then the faces are determined internally
Thickness
Array containing minimum and maximum thickness of sheet metal for pairs of faces
MiddleSurfaceBody
Middle surface body

Return Value

0 if no errors; -1 if errors
 

See Also



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:   IGetMiddleSurface Method (IBody2)
*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) 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.