Hide Table of Contents
PostSplitBody Method (IFeatureManager)

Inserts a split-body feature.

.NET Syntax

Visual Basic (Declaration) 
Function PostSplitBody( _
   ByVal BodiesToMark As System.Object, _
   ByVal ConsumeCut As System.Boolean, _
   ByVal Origins As System.Object, _
   ByVal SavePaths As System.Object _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim BodiesToMark As System.Object
Dim ConsumeCut As System.Boolean
Dim Origins As System.Object
Dim SavePaths As System.Object
Dim value As Feature
 
value = instance.PostSplitBody(BodiesToMark, ConsumeCut, Origins, SavePaths)
C# 
Feature PostSplitBody( 
   System.object BodiesToMark,
   System.bool ConsumeCut,
   System.object Origins,
   System.object SavePaths
)
C++/CLI 
Feature^ PostSplitBody( 
&   System.Object^ BodiesToMark,
&   System.bool ConsumeCut,
&   System.Object^ Origins,
&   System.Object^ SavePaths
) 

Parameters

BodiesToMark
Bodies to mark for the split operation
ConsumeCut
True to remove the bodies from the part, false to not
Origins
Array of origins of the bodies to save
SavePaths
Array of path and filenames of the bodies to save

Return Value

Pointer to the split-body feature

Example

Remarks

To create a split-body feature:

  1. Select the cutting tools.

  2. Get all of the bodies that will result from the split operation using IFeatureManager::PreSplitBody.

  3. Create the split-body feature using IFeatureManager::PostSplitBody.

The size of the BodiesToMark, Origins, and SavePaths arrays must equal and greater than 0. If you pass an empty path and filename for a body, then that body is only marked and not saved. It remains with the original part.

 

To find out if the bodies in a split-body feature were consumed, use ISplitBodyFeatureData::Consume.

 

IFeature::GetTypeName2 and IFeature::GetTypeName return:

  • Split for a feature that was created by splitting a part into multiple parts by using either this method or the Split feature in the user interface. You can access a split-body feature's data using the ISplitBodyFeatureData interface.
  • SplitBody for a body created by splitting a part and saving the body to a part. You cannot access the data of a split body saved to a part.
 

See Also

Availability

SolidWorks 2007 FCS, Revision Number 15.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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   PostSplitBody Method (IFeatureManager)
*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) 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.