Hide Table of Contents
InsertMoldCoreCavitySolids Method (IFeatureManager)

Creates a core/cavity solid feature.

.NET Syntax

Visual Basic (Declaration) 
Function InsertMoldCoreCavitySolids( _
   ByVal Dist1 As System.Double, _
   ByVal Dist2 As System.Double, _
   ByVal Setback As System.Boolean, _
   ByVal Angle As System.Double _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Dist1 As System.Double
Dim Dist2 As System.Double
Dim Setback As System.Boolean
Dim Angle As System.Double
Dim value As Feature
value = instance.InsertMoldCoreCavitySolids(Dist1, Dist2, Setback, Angle)
Feature InsertMoldCoreCavitySolids( 
   System.double Dist1,
   System.double Dist2,
   System.bool Setback,
   System.double Angle
Feature^ InsertMoldCoreCavitySolids( 
&   System.double Dist1,
&   System.double Dist2,
&   System.bool Setback,
&   System.double Angle


Length of the extrusion in Direction 1

Length of the extrusion in Direction 2


True to enable setback surface, false to not


Draft angle for the setback surface

Return Value

Pointer to the IFeature object


To use this method:

  • The Parting Line feature must exist.

  • The parting surface must be generated.

  • The part must be separated into core and cavity (sheet bodies).

  • A sketch describing the outline of the mold block must exist. The sketch must be perpendicular to the pull direction. Usually, the sketch is a rectangle that includes the part (core and cavity).

The location of the sketch plane specifies the parting plane in the setback surface option.

  • Without the setback surface option, the parting surface must extend beyond the block sketch so that the parting surface is cut off by the block.

  • With the setback surface option, the parting surface should be included within the block sketch. The parting plane (sketch plane) cannot intersect with the parting surface. Therefore, the parting plane must be either higher or lower than the parting surface. From the parting surface, a set of ruled surfaces is generated to be trimmed by the parting plane.


See Also


SolidWorks 2004 FCS, Revision Number 12.0

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:   InsertMoldCoreCavitySolids Method (IFeatureManager)
*   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) 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.