Inserts a midsurface in a body.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IBody2
Dim PlacementPercentage As Double
Dim Face1List As Object
Dim Face2List As Object
Dim Thickness As Object
Dim MiddleSurfaceBody As Object
Dim value As Integer
value = instance.GetMiddleSurface(PlacementPercentage, Face1List, Face2List, Thickness, 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
Availability
SolidWorks 2009 FCS, Revsion Number 17.0