Hide Table of Contents
CreateSaveBodyFeature Method (IFeatureManager)

Creates a Save Bodies feature and creates part and assembly documents of the save bodies.

.NET Syntax

Visual Basic (Declaration) 
Function CreateSaveBodyFeature( _
   ByVal Bodies As System.Object, _
   ByVal FilePaths As System.Object, _
   ByVal AssemName As System.String, _
   ByVal ConsumeBody As System.Boolean, _
   ByVal CopyCustomProperty As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Bodies As System.Object
Dim FilePaths As System.Object
Dim AssemName As System.String
Dim ConsumeBody As System.Boolean
Dim CopyCustomProperty As System.Boolean
Dim value As System.Object
 
value = instance.CreateSaveBodyFeature(Bodies, FilePaths, AssemName, ConsumeBody, CopyCustomProperty)
C# 
System.object CreateSaveBodyFeature( 
   System.object Bodies,
   System.object FilePaths,
   System.string AssemName,
   System.bool ConsumeBody,
   System.bool CopyCustomProperty
)
C++/CLI 
System.Object^ CreateSaveBodyFeature( 
&   System.Object^ Bodies,
&   System.Object^ FilePaths,
&   System.String^ AssemName,
&   System.bool ConsumeBody,
&   System.bool CopyCustomProperty
) 

Parameters

Bodies
Array of solid bodies to save as parts
FilePaths
Array of paths and filenames of the part documents to which to save Bodies
AssemName

Path and filename of the assembly document to which to save Bodies

ConsumeBody
See Remarks
CopyCustomProperty
See Remarks

Return Value

Feature

Remarks

For parameter... If language is... Then specify...
ConsumeBody VBA or .NET True to consume all bodies in the original part, false to not
C++ VARIANT_TRUE (-1) to consume all bodies in the original part, VARIANT_FALSE (0) to not
CopyCustomProperty VBA or .NET True to copy custom properties to the new parts, false to not
C++ VARIANT_TRUE (-1) to copy custom properties to the new parts, VARIANT_FALSE (0) to not
 

See Also

Availability

SOLIDWORKS 2009 FCS, Revision Number 17.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:   CreateSaveBodyFeature 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) 2019 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.