Hide Table of Contents
IBody2 Interface Methods

For a list of all members of this type, see IBody2 members.

Public Methods

 NameDescription
 MethodAddConstantFilletsCreates constant radius fillets on the specified edges on this body.  
 MethodAddProfileArcCreates an arc profile curve and returns a pointer to that curve.  
 MethodAddProfileBsplineCreates an B-spline profile curve and returns a pointer to that curve.  
 MethodAddProfileBsplineByPtsAdds a profile B-spline.  
 MethodAddProfileLineCreates a line profile curve and returns a pointer to that curve.  
 MethodAddPropertyExtensionObsolete. Superseded by IBody2::AddPropertyExtension2.  
 MethodAddPropertyExtension2Adds a property extension to this body.  
 MethodAddVertexPointAdds a vertex.  
 MethodApplyTransformApplies a transform to this body.  
 MethodCheckObsolete. Superseded by IBody2::Check3.  
 MethodCheck2Obsolete. Superseded by IBody2::Check3.  
 MethodConvertToMeshBodyConverts a solid body to a mesh BREP (boundary representation) body.  
 MethodCopyObsolete. Superseded by IBody2::Copy2.  
 MethodCopy2Gets a copy of this body.  
 MethodCreateBaseFeatureCreates a base feature for the imported body.  
 MethodCreateBlendSurfaceCreates a constant radius rolling-ball blend surface (also known as a pipe surface) between two side surfaces.  
 MethodCreateBodyFromFacesCreates a temporary body from the faces.  
 MethodCreateBodyFromSurfacesCreates a body from a list of trimmed surfaces.  
 MethodCreateBoundedSurfaceCreates a bounded surface from an independent base surface.  
 MethodCreateBsplineSurfaceCreates a new B-spline surface.  
 MethodCreateExtrusionSurfaceCreates a new surface of extrusion (infinitely long tabulated cylinder).  
 MethodCreateNewSurfaceCreates a handle for a new surface to serve as geometry for a face to be added to the body.  
 MethodCreateOffsetSurfaceCreates a new surface offset from an existing surface.  
 MethodCreatePlanarSurfaceCreates a new infinite planar surface.  
 MethodCreatePlanarTrimSurfaceDLLCreates a planar trim surface for this body.  
 MethodCreateRevolutionSurfaceCreates a new surface of revolution.  
 MethodCreateRuledSurfaceCreates a ruled surface from the specified curves and apex point.  
 MethodCreateTempBodyFromSurfacesCreates a temporary body from a list of existing trimmed surfaces.  
 MethodCreateTrimmedSurfaceCreates a trimmed surface from a base surface and a list of existing trimming curves.  
 MethodDeleteBlendsObsolete. Superseded by IBody2::DeleteBlends2.  
 MethodDeleteBlends2Obsolete. Superseded by IBody2::DeleteBlends3.  
 MethodDeleteBlends3Removes a set of fillet faces from a temporary body and heals the body.  
 MethodDeleteFacesObsolete. Superseded by IBody2::DeleteFaces3.  
 MethodDeleteFaces2Obsolete. Superseded by IBody2::DeleteFaces3.  
 MethodDeleteFaces3Obsolete. Superseded by IBody2::IDeleteFaces4.  
 MethodDeleteFaces4Obsolete. Superseded by IBody2::DeleteFaces5.  
 MethodDeleteFaces5Deletes a set of faces from a temporary body.  
 MethodDeleteFacesMakeSheetBodiesCreates sheet bodies from deleted faces.  
 MethodDeSelectDeselects this body.  
 MethodDiagnoseGets the IDiagnoseResult object for this body.  
 MethodDisplayObsolete. Superseded by IBody2::Display3.  
 MethodDisplay2Obsolete. Superseded by IBody2::Display3.  
 MethodDisplay3Displays this temporary body in the context of the specified part or component.  
 MethodDisplayWireFrameXORDisplays a temporary body in the given part's context in XOR mode.  
 MethodDraftBodyObsolete. Superseded by IBody2::DraftBody2.  
 MethodDraftBody2Adds drafts to the specified faces on a temporary body. This method modifies the body.  
 MethodEnumFacesReturns an enumerated list of the faces in a body.  
 MethodExtendSurfaceCreates a new temporary body by extending the selected edges.  
 MethodFindAttributeFinds an attribute on a body.  
 MethodGetBodyBoxGets the bounding box for this body.  
 MethodGetCoincidenceTransformObsolete. Superseded by IBody2::GetCoincidenceTransform2.  
 MethodGetCoincidenceTransform2Calculates the transformation matrix, which would make the input body coincident with this body if the transformation matrix is applied.  
 MethodGetEdgeCountGets the number of edges for this body.  
 MethodGetEdgesGets the edges for this body.  
 MethodGetExcessBodyArrayGets the excess bodies after sewing.  
 MethodGetExtremePointCalculates the extreme point of the model in the specified direction.  
 MethodGetFaceCountGets the number of faces in this body.  
 MethodGetFacesGets all of the faces on the body.  
 MethodGetFeatureCountGets the number of features in this body in a multibody sheet metal part.  
 MethodGetFeaturesGets the features in this body in a multibody sheet metal part.  
 MethodGetFirstFaceFinds the first face in a body and returns the face.  
 MethodGetFirstSelectedFaceGets the first selected face on this body. For use with IBody2::GetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodGetGraphicsBodyGets the graphics body associated with this body.  
 MethodGetIgesErrorCodeGets the current IGES error code.  
 MethodGetIgesErrorCountGets the number of errors encountered while running an IGES routine.  
 MethodGetIntersectionEdgesObsolete. Superseded by IBody2::GetIntersectionEdges2.  
 MethodGetIntersectionEdges2Gets the edges resulting from the intersection of the specified tool body and this body.  
 MethodGetMassPropertiesGets the mass properties of this body.  
 MethodGetMaterialIdNameObsolete. Superseded by IBody2::GetMaterialIdName2.  
 MethodGetMaterialIdName2Gets the material name for this body.  
 MethodGetMaterialPropertyNameGets the names of the material database and the material for the specified configuration.  
 MethodGetMaterialUserNameObsolete. Superseded by IBody2::GetMaterialUserName2.  
 MethodGetMaterialUserName2Gets the material name for this body; the material name is visible to the user.  
 MethodGetMeshBodyGets the mesh body associated with this body.  
 MethodGetMiddleSurfaceInserts a midsurface in a body.  
 MethodGetNextSelectedFaceGets the next selected face. For use with IBody2::GetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodGetOriginalPatternedBodyGets the original body from this patterned body. Also gets the transformation of this body with respect to the original body.  
 MethodGetProcessedBodyObsolete. Superseded by IBody2::GetProcessedBody2.  
 MethodGetProcessedBody2Pre-processes the geometry of the body using the specified parameters.  
 MethodGetProcessedBodyWithSelFaceGets a processed body.  
 MethodGetPropertyExtensionObsolete. Superseded by IBody2::GetPropertyExtension2.  
 MethodGetPropertyExtension2Gets the specified property extension on this body.  
 MethodGetSafeBodyNot implemented.  
 MethodGetSelectedFaceCountGets the number of selected faces on this body. For use with IBody2::GetProcessedBodyWithSelFace and IBody2::IGetPrcoessedBodyWithSelFace and intended for IGES routines.  
 MethodGetSelectedFacesGets the selected faces. For use with IBody2::GetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodGetSelectionIdGets the selection ID of the body, if one exists.  
 MethodGetSheetBodyGets a sheet (surface) body in this body.  
 MethodGetTessellationGets the ITessellation object.  
 MethodGetTextureGets the texture applied to this body in the specified configuration.  
 MethodGetTrackingIDsGets the tracking IDs assigned to this body.  
 MethodGetTrackingIDsCountGets the number of tracking IDs on this body.  
 MethodGetTypeGets the type of the body.  
 MethodGetUpdateStampGets the update stamp for the body as of the last rebuild.  
 MethodGetVertexCountGets the number of vertices in this body.  
 MethodGetVerticesGets the vertices in this body.  
 MethodHasMaterialPropertyValuesGets whether this body has an appearance.  
 MethodHideHides this temporary body in the context of the specified part.  
 MethodHideBodyHides or shows this body.  
 MethodIAddProfileArcCreates an arc profile curve and returns a pointer to that curve.  
 MethodIAddProfileArcDLLAdds a profile arc.  
 MethodIAddProfileBsplineCreates an B-spline profile curve and returns a pointer to that curve.  
 MethodIAddProfileBsplineByPtsAdds a profile B-spline.  
 MethodIAddProfileBsplineDLLAdds a profile B-spline.  
 MethodIAddProfileLineCreates a line profile curve and returns a pointer to that curve.  
 MethodIAddProfileLineDLLAdds a profile line.  
 MethodIAddVertexPointAdds a vertex.  
 MethodICombineVolumesCombines the volumes of two bodies.  
 MethodICopyGets a copy of this body.  
 MethodICreateBaseFeatureCreates a base feature for the imported body.  
 MethodICreateBlendSurfaceCreates a constant radius rolling-ball blend surface (also known as a pipe surface) between two side surfaces.  
 MethodICreateBodyFromFacesCreates a temporary body from the faces.  
 MethodICreateBoundedSurfaceCreates a bounded surface from an independent base surface.  
 MethodICreateBsplineSurfaceCreates a new B-spline surface.  
 MethodICreateBsplineSurfaceDLLCreates a B-spline surface in this body.  
 MethodICreateExtrusionSurfaceCreates a new surface of extrusion (infinitely long tabulated cylinder).  
 MethodICreateExtrusionSurfaceDLLCreates an extruded surface.  
 MethodICreateNewSurfaceCreates a handle for a new surface to serve as geometry for a face to be added to the body.  
 MethodICreateOffsetSurfaceCreates a new surface offset from an existing surface.  
 MethodICreatePlanarSurfaceCreates a new infinite planar surface.  
 MethodICreatePlanarSurfaceDLLCreates a planar surface.  
 MethodICreatePlanarTrimSurfaceDLLCreates a planar trim surface for this body.  
 MethodICreatePsplineSurfaceDLLCreates a B-surface from a piecewise surface.  
 MethodICreateRevolutionSurfaceCreates a new surface of revolution.  
 MethodICreateRevolutionSurfaceDLLCreates a surface of revolution for this body.  
 MethodICreateRuledSurfaceCreates a ruled surface from the specified curves and apex point.  
 MethodICreateTempBodyFromSurfacesCreates a temporary body from a list of existing trimmed surfaces.  
 MethodIDeleteBlendsObsolete. Superseded by IBody2::IDeleteBlends2.  
 MethodIDeleteBlends2Obsolete. Superseded by IBody2::DeleteBlends3.  
 MethodIDeleteBlends3Removes a set of fillet faces from a temporary body and heals the body.  
 MethodIDeleteFaces2Obsolete. Superseded by IBody2::IDeleteFaces3.  
 MethodIDeleteFaces3Obsolete. Superseded by IBody2::IDeleteFaces4.  
 MethodIDeleteFacesMakeSheetBodiesCreates sheet bodies from deleted faces.  
 MethodIDeleteFacesMakeSheetBodiesCountGets the number of sheet bodies to create from the deleted faces.  
 MethodIDisplayObsolete. Superseded by IBody2::Display3.  
 MethodIDisplayWireFrameXORDisplays a temporary body in the given part's context in XOR mode.  
 MethodIDraftBodyObsolete. Superseded by IBody2::IDraftBody2.  
 MethodIDraftBody2Adds drafts to the specified faces on a temporary body. This method modifies the body.  
 MethodIExtendSurfaceCreates a new temporary body by extending the selected edges.  
 MethodIGetBodyBoxGets the bounding box for this body.  
 MethodIGetEdgesGets the edges for this body.  
 MethodIGetExcessBodyArrayGets the excess bodies after sewing.  
 MethodIGetExcessBodyCountGets the number of excess bodies.  
 MethodIGetFacesGets all of the faces on the body.  
 MethodIGetFeaturesGets the features in this body in a multibody sheet metal part.  
 MethodIGetFirstFaceFinds the first face in a body and returns the face.  
 MethodIGetFirstSelectedFaceGets the first selected face on this body. For use with IBody2::IGetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodIGetIntersectionEdgeCountGets the number of intersecting edges between this body and the specified tool body.  
 MethodIGetIntersectionEdgesObsolete. Superseded by IBody2::GetIntersectionEdges2.  
 MethodIGetMassPropertiesGets the mass properties of this body.  
 MethodIGetMaterialPropertyValuesForFaceGets the color of the specified face.  
 MethodIGetMiddleSurfaceInserts a midsurface in a body.  
 MethodIGetNextSelectedFaceGets the next selected face. For use with IBody2::GetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodIGetProcessedBodyObsolete. Superseded by IBody2::GetProcessedBody2.  
 MethodIGetProcessedBodyWithSelFaceGets a processed body.  
 MethodIGetSelectedFacesGets the selected faces. For use with IBody2::GetProcessedBodyWithSelFace and intended for IGES routines.  
 MethodIGetSheetBodyGets a sheet (surface) body in this body.  
 MethodIGetTessellationGets the ITessellation object.  
 MethodIGetTrackingIDsGets the tracking IDs assigned to this body.  
 MethodIGetVerticesGets the vertices in this body.  
 MethodIHideHides a temporary body using the specified part's context.  
 MethodIMatchedBooleanObsolete. Superseded by IBody2::IMatchedBoolean3.  
 MethodIMatchedBoolean2Obsolete. Superseded by IBody2::IMatchedBoolean3.  
 MethodIMatchedBoolean3Obsolete. Superseded by IBody2::IMatchedBoolean4.  
 MethodIMatchedBoolean4Performs a matched boolean on the specified bodies and supports an optional list of faces that match exactly.  
 MethodIOperationsObsolete. Superseded by IBody2::Operations2.  
 MethodIOperations2Performs add, cut, and intersect (unite, subtract, and interfere) operations between two temporary bodies.  
 MethodIRemoveFacesFromSheetRemoves the specified faces from a sheet (surface) body.  
 MethodIRemoveMaterialPropertyRemoves the material property values (e.g., color) from the body in the specified configurations in parts and assemblies.  
 MethodISaveSaves this body.  
 MethodISectionBySheetSections a body using a sheet (surface) body.  
 MethodISetCurrentSurfacePlaces an existing surface into a temporary body that is under construction.  
 MethodISetXformObsolete. Superseded by IBody2::ApplyTransform.  
 MethodIsGraphicsBodyGets whether this body is a graphics body.  
 MethodIsMeshBodyGets whether this body is a mesh body.  
 MethodIsPatternSeedGets whether this body is the seed of a patterned body.  
 MethodIsSheetMetalGets whether this body was created by a sheet metal feature.  
 MethodIsTemporaryBodyGets whether the body is a temporary body.  
 MethodMakeOffsetCreates a new temporary body by offsetting the selected surface body by the specified distance and in the specified direction.  
 MethodMatchedBooleanObsolete. Superseded by IBody2::MatchedBoolean3.  
 MethodMatchedBoolean2Obsolete. Superseded by IBody2::MatchedBoolean3.  
 MethodMatchedBoolean3Obsolete. Superseded by IBody2::MatchedBoolean4.  
 MethodMatchedBoolean4Performs a matched boolean on the specified bodies and supports an optional list of faces that match exactly.  
 MethodMinimumRadiusGets the minimum radius of this body.  
 MethodNegateReverses the direction (i.e., orientation) of the body.  
 MethodOffsetPlanarWireBodyOffsets a planar wire body in the normal plane by the specified distance.  
 MethodOperationsObsolete. Superseded by IBody2::Operations2.  
 MethodOperations2Performs add, cut, and intersect (unite, subtract, and interfere) operations between two temporary bodies.  
 MethodRemoveFacesFromSheetRemoves the specified faces from a sheet (surface) body.  
 MethodRemoveMaterialPropertyRemoves the material property values (e.g., color) from the body in the specified configurations in parts and assemblies.  
 MethodRemoveRedundantTopologyRemoves redundant topology from the body.  
 MethodRemoveTextureRemoves the texture applied to this body in the specified configuration.  
 MethodRemoveTextureByDisplayStateRemoves the texture applied to this body in the specified display state.  
 MethodRemoveTrackingIDRemoves a tracking ID assigned to this body.  
 MethodResetEdgeTolerancesResets the tolerance on all edges of this body.  
 MethodResetPropertyExtensionObsolete. Superseded by IBody2::ResetPropertyExtension2.  
 MethodResetPropertyExtension2Clears all values stored in the property extension.  
 MethodSaveSaves this body.  
 MethodSelectObsolete. Superseded by IBody2::Select2.  
 MethodSelect2Selects this body and marks it.  
 MethodSetCurrentSurfacePlaces an existing surface into a temporary body that is under construction.  
 MethodSetIgesInfoSends IGES-specific data to the geometric modeler.  
 MethodSetMaterialIdNameObsolete. Superseded by IBody2::SetMaterialIdName2.  
 MethodSetMaterialIdName2Sets the material name for this body.  
 MethodSetMaterialPropertySets the material for this body.  
 MethodSetMaterialUserNameObsolete. Superseded by IBody2::SetMaterialUserName2.  
 MethodSetMaterialUserName2Sets the material name for this body. This material name is visible to the user.  
 MethodSetTextureApplies texture to this body in the specified configuration.  
 MethodSetTextureByDisplayStateSets the texture applied to this body in the specified display state.  
 MethodSetTrackingIDAssigns a tracking ID to this body.  
 MethodSetXformObsolete. Superseded by IBody2::ApplyTransform.  
Top

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:   IBody2 Interface Methods
*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) 2024 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.