Welcome
Expand Getting StartedGetting Started
Collapse SolidWorks API HelpSolidWorks API Help
Functional Categories
Release Notes
Collapse SolidWorks.Interop.sldworks NamespaceSolidWorks.Interop.sldworks Namespace
Overview
Collapse InterfacesInterfaces
Expand IAdvancedSelectionCriteriaIAdvancedSelectionCriteria
Expand IAnnotationIAnnotation
Expand IAnnotationViewIAnnotationView
Expand IAppearanceSettingIAppearanceSetting
Expand IAssemblyDocIAssemblyDoc
Expand IAttributeIAttribute
Expand IAttributeDefIAttributeDef
Expand IAutoBalloonOptionsIAutoBalloonOptions
Expand IBalloonOptionsIBalloonOptions
Expand IBalloonStackIBalloonStack
Expand IBaseFlangeFeatureDataIBaseFlangeFeatureData
Expand IBendsFeatureDataIBendsFeatureData
Expand IBendTableIBendTable
Expand IBendTableAnnotationIBendTableAnnotation
Expand IBody2IBody2
Expand IBodyFolderIBodyFolder
Expand IBomFeatureIBomFeature
Expand IBomTableIBomTable
Expand IBomTableAnnotationIBomTableAnnotation
Expand IBomTableSortDataIBomTableSortData
Expand IBreakCornerFeatureDataIBreakCornerFeatureData
Expand IBreakLineIBreakLine
Expand IBrokenOutSectionFeatureDataIBrokenOutSectionFeatureData
Expand IBSurfParamDataIBSurfParamData
Expand ICalloutICallout
Expand ICameraICamera
Expand ICavityFeatureDataICavityFeatureData
Expand ICenterLineICenterLine
Expand ICenterMarkICenterMark
Expand ICenterOfMassICenterOfMass
Expand IChamferFeatureData2IChamferFeatureData2
Expand ICircularPatternFeatureDataICircularPatternFeatureData
Expand IClosedCornerFeatureDataIClosedCornerFeatureData
Expand ICoEdgeICoEdge
Expand IColorTableIColorTable
Expand ICombineBodiesFeatureDataICombineBodiesFeatureData
Expand ICommandGroupICommandGroup
Expand ICommandManagerICommandManager
Expand ICommandTabICommandTab
Expand ICommandTabBoxICommandTabBox
Expand ICommentIComment
Expand ICommentFolderICommentFolder
Expand IComponent2IComponent2
Expand ICompositeCurveFeatureDataICompositeCurveFeatureData
Expand IConfigurationIConfiguration
Expand IConfigurationManagerIConfigurationManager
Expand IConnectionPointFeatureDataIConnectionPointFeatureData
Expand ICoordinateSystemFeatureDataICoordinateSystemFeatureData
Expand ICoreFeatureDataICoreFeatureData
Expand ICosmeticThreadFeatureDataICosmeticThreadFeatureData
Expand ICosmeticWeldBeadFeatureDataICosmeticWeldBeadFeatureData
Expand ICosmeticWeldBeadFolderICosmeticWeldBeadFolder
Expand ICThreadICThread
Expand ICurveICurve
Expand ICurveDrivenPatternFeatureDataICurveDrivenPatternFeatureData
Expand ICurveParamDataICurveParamData
Expand ICustomBendAllowanceICustomBendAllowance
Expand ICustomPropertyManagerICustomPropertyManager
Expand IDatumOriginIDatumOrigin
Expand IDatumTagIDatumTag
Expand IDatumTargetSymIDatumTargetSym
Expand IDecalIDecal
Expand IDeleteBodyFeatureDataIDeleteBodyFeatureData
Expand IDeleteFaceFeatureDataIDeleteFaceFeatureData
Expand IDerivedPartFeatureDataIDerivedPartFeatureData
Expand IDerivedPatternFeatureDataIDerivedPatternFeatureData
Expand IDesignTableIDesignTable
Expand IDetailCircleIDetailCircle
Expand IDiagnoseResultIDiagnoseResult
Expand IDimensionIDimension
Expand IDimensionSensorDataIDimensionSensorData
Expand IDimensionToleranceIDimensionTolerance
Expand IDimXpertManagerIDimXpertManager
Expand IDisplayDataIDisplayData
Expand IDisplayDimensionIDisplayDimension
Expand IDisplayStateSettingIDisplayStateSetting
Expand IDocumentSpecificationIDocumentSpecification
Expand IDomeFeatureData2IDomeFeatureData2
Expand IDowelSymbolIDowelSymbol
Expand IDraftFeatureData2IDraftFeatureData2
Expand IDragArrowManipulatorIDragArrowManipulator
Expand IDragOperatorIDragOperator
Expand IDrawingComponentIDrawingComponent
Expand IDrawingDocIDrawingDoc
Expand IDrSectionIDrSection
Expand IEdgeIEdge
Expand IEdgeFlangeFeatureDataIEdgeFlangeFeatureData
Expand IEdgePointIEdgePoint
Expand IEndCapFeatureDataIEndCapFeatureData
Expand IEntityIEntity
Expand IEnumBodies2IEnumBodies2
Expand IEnumCoEdgesIEnumCoEdges
Expand IEnumComponents2IEnumComponents2
Expand IEnumDisplayDimensionsIEnumDisplayDimensions
Expand IEnumDocuments2IEnumDocuments2
Expand IEnumDrSectionsIEnumDrSections
Expand IEnumEdgesIEnumEdges
Expand IEnumFaces2IEnumFaces2
Expand IEnumLoops2IEnumLoops2
Expand IEnumModelViewsIEnumModelViews
Expand IEnumSketchHatchesIEnumSketchHatches
Expand IEnumSketchPointsIEnumSketchPoints
Expand IEnumSketchSegmentsIEnumSketchSegments
Expand IEnvironmentIEnvironment
Expand IEquationMgrIEquationMgr
Expand IExplodeStepIExplodeStep
Expand IExportPdfDataIExportPdfData
Expand IExtrudeFeatureData2IExtrudeFeatureData2
Expand IFace2IFace2
Expand IFaceDecalPropertiesIFaceDecalProperties
Expand IFaceHatchIFaceHatch
Expand IFaultEntityIFaultEntity
Expand IFeatMgrViewIFeatMgrView
Expand IFeatureIFeature
Expand IFeatureFolderIFeatureFolder
Expand IFeatureManagerIFeatureManager
Expand IFeatureStatisticsIFeatureStatistics
Expand IFillSurfaceFeatureDataIFillSurfaceFeatureData
Expand IFlatPatternFeatureDataIFlatPatternFeatureData
Expand IFlyoutGroupIFlyoutGroup
Expand IFoldsFeatureDataIFoldsFeatureData
Expand IFrameIFrame
Expand IFreePointCurveFeatureDataIFreePointCurveFeatureData
Expand IGeneralTableAnnotationIGeneralTableAnnotation
Expand IGeneralTableFeatureIGeneralTableFeature
Expand IGtolIGtol
Expand IGussetFeatureDataIGussetFeatureData
Expand IHealEdgesFeatureDataIHealEdgesFeatureData
Expand IHelixFeatureDataIHelixFeatureData
Expand IHemFeatureDataIHemFeatureData
Expand IHoleSeriesFeatureDataIHoleSeriesFeatureData
Expand IHoleTableIHoleTable
Expand IHoleTableAnnotationIHoleTableAnnotation
Expand IImportDxfDwgDataIImportDxfDwgData
Expand IImportedCurveFeatureDataIImportedCurveFeatureData
Expand IImportIgesDataIImportIgesData
Expand IImportStepDataIImportStepData
Expand IInterferenceIInterference
Expand IInterferenceDetectionMgrIInterferenceDetectionMgr
Expand IJogFeatureDataIJogFeatureData
Expand IJoinFeatureDataIJoinFeatureData
Expand ILayerILayer
Expand ILayerMgrILayerMgr
Expand ILibraryFeatureDataILibraryFeatureData
Expand ILightILight
Expand ILightDialogILightDialog
Expand ILinearPatternFeatureDataILinearPatternFeatureData
Expand ILocalCircularPatternFeatureDataILocalCircularPatternFeatureData
Expand ILocalLinearPatternFeatureDataILocalLinearPatternFeatureData
Expand ILoftedBendsFeatureDataILoftedBendsFeatureData
Expand ILoftFeatureDataILoftFeatureData
Expand ILoop2ILoop2
Expand IMacroFeatureDataIMacroFeatureData
Expand IMagneticLineIMagneticLine
Expand IManipulatorIManipulator
Expand IMassPropertyIMassProperty
Expand IMate2IMate2
Expand IMateEntity2IMateEntity2
Expand IMateInPlaceIMateInPlace
Expand IMateLoadReferenceIMateLoadReference
Expand IMateReferenceIMateReference
Expand IMaterialVisualPropertiesDataIMaterialVisualPropertiesData
Expand IMathPointIMathPoint
Expand IMathTransformIMathTransform
Expand IMathUtilityIMathUtility
Expand IMathVectorIMathVector
Expand IMeasureIMeasure
Expand IMidSurface3IMidSurface3
Expand IMirrorPatternFeatureDataIMirrorPatternFeatureData
Expand IMirrorSolidFeatureDataIMirrorSolidFeatureData
Expand IMiterFlangeFeatureDataIMiterFlangeFeatureData
Expand IModelDoc2IModelDoc2
Expand IModelDocExtensionIModelDocExtension
Expand IModelerIModeler
Expand IModelViewIModelView
Expand IModelViewManagerIModelViewManager
Expand IModelWindowIModelWindow
Expand IMotionPlotAxisFeatureDataIMotionPlotAxisFeatureData
Expand IMotionPlotFeatureDataIMotionPlotFeatureData
Expand IMouseIMouse
Expand IMoveCopyBodyFeatureDataIMoveCopyBodyFeatureData
Expand IMoveFaceFeatureDataIMoveFaceFeatureData
Expand IMultiJogLeaderIMultiJogLeader
Expand INoteINote
Expand IOneBendFeatureDataIOneBendFeatureData
Expand IPackAndGoIPackAndGo
Expand IPageSetupIPageSetup
Expand IParameterIParameter
Collapse IPartDocIPartDoc
Members
Expand IPartingLineFeatureDataIPartingLineFeatureData
Expand IPartingSurfaceFeatureDataIPartingSurfaceFeatureData
Expand IPlaneManipulatorIPlaneManipulator
Expand IPrint3DDialogIPrint3DDialog
Expand IProjectionArrowIProjectionArrow
Expand IProjectionCurveFeatureDataIProjectionCurveFeatureData
Expand IPropertyManagerPage2IPropertyManagerPage2
Expand IPropertyManagerPageActiveXIPropertyManagerPageActiveX
Expand IPropertyManagerPageBitmapIPropertyManagerPageBitmap
Expand IPropertyManagerPageBitmapButtonIPropertyManagerPageBitmapButton
Expand IPropertyManagerPageButtonIPropertyManagerPageButton
Expand IPropertyManagerPageCheckboxIPropertyManagerPageCheckbox
Expand IPropertyManagerPageComboboxIPropertyManagerPageCombobox
Expand IPropertyManagerPageControlIPropertyManagerPageControl
Expand IPropertyManagerPageGroupIPropertyManagerPageGroup
Expand IPropertyManagerPageLabelIPropertyManagerPageLabel
Expand IPropertyManagerPageListboxIPropertyManagerPageListbox
Expand IPropertyManagerPageNumberboxIPropertyManagerPageNumberbox
Expand IPropertyManagerPageOptionIPropertyManagerPageOption
Expand IPropertyManagerPageSelectionboxIPropertyManagerPageSelectionbox
Expand IPropertyManagerPageSliderIPropertyManagerPageSlider
Expand IPropertyManagerPageTabIPropertyManagerPageTab
Expand IPropertyManagerPageTextboxIPropertyManagerPageTextbox
Expand IPropertyManagerPageWindowFromHandleIPropertyManagerPageWindowFromHandle
Expand IPunchTableIPunchTable
Expand IPunchTableAnnotationIPunchTableAnnotation
Expand IRayTraceRendererIRayTraceRenderer
Expand IRayTraceRendererOptionsIRayTraceRendererOptions
Expand IRefAxisIRefAxis
Expand IRefAxisFeatureDataIRefAxisFeatureData
Expand IReferenceCurveIReferenceCurve
Expand IReferencePointCurveFeatureDataIReferencePointCurveFeatureData
Expand IRefPlaneIRefPlane
Expand IRefPlaneFeatureDataIRefPlaneFeatureData
Expand IRefPointIRefPoint
Expand IRefPointFeatureDataIRefPointFeatureData
Expand IRenderMaterialIRenderMaterial
Expand IReplaceFaceFeatureDataIReplaceFaceFeatureData
Expand IRevisionCloudIRevisionCloud
Expand IRevisionTableAnnotationIRevisionTableAnnotation
Expand IRevisionTableFeatureIRevisionTableFeature
Expand IRevolveFeatureData2IRevolveFeatureData2
Expand IRibFeatureData2IRibFeatureData2
Expand IRipFeatureDataIRipFeatureData
Expand IRoutingSettingsIRoutingSettings
Expand IRuledSurfaceFeatureDataIRuledSurfaceFeatureData
Expand ISaveBodyFeatureDataISaveBodyFeatureData
Expand IScaleFeatureDataIScaleFeatureData
Expand ISectionViewDataISectionViewData
Expand ISelectDataISelectData
Expand ISelectionMgrISelectionMgr
Expand ISensorISensor
Expand ISFSymbolISFSymbol
Expand ISheetISheet
Expand ISheetMetalFeatureDataISheetMetalFeatureData
Expand IShellFeatureDataIShellFeatureData
Expand IShutOffSurfaceFeatureDataIShutOffSurfaceFeatureData
Expand ISilhouetteEdgeISilhouetteEdge
Expand ISimpleFilletFeatureData2ISimpleFilletFeatureData2
Expand ISimpleHoleFeatureData2ISimpleHoleFeatureData2
Expand ISimulation3DContactFeatureDataISimulation3DContactFeatureData
Expand ISimulationDamperFeatureDataISimulationDamperFeatureData
Expand ISimulationForceFeatureDataISimulationForceFeatureData
Expand ISimulationGravityFeatureDataISimulationGravityFeatureData
Expand ISimulationMotorFeatureDataISimulationMotorFeatureData
Expand ISimulationSpringFeatureDataISimulationSpringFeatureData
Expand ISketchISketch
Expand ISketchArcISketchArc
Expand ISketchBlockDefinitionISketchBlockDefinition
Expand ISketchBlockInstanceISketchBlockInstance
Expand ISketchContourISketchContour
Expand ISketchedBendFeatureDataISketchedBendFeatureData
Expand ISketchEllipseISketchEllipse
Expand ISketchHatchISketchHatch
Expand ISketchLineISketchLine
Expand ISketchManagerISketchManager
Expand ISketchParabolaISketchParabola
Expand ISketchPathISketchPath
Expand ISketchPatternFeatureDataISketchPatternFeatureData
Expand ISketchPictureISketchPicture
Expand ISketchPointISketchPoint
Expand ISketchRegionISketchRegion
Expand ISketchRelationISketchRelation
Expand ISketchRelationManagerISketchRelationManager
Expand ISketchSegmentISketchSegment
Expand ISketchSlotISketchSlot
Expand ISketchSplineISketchSpline
Expand ISketchTextISketchText
Expand ISldWorksISldWorks
Expand ISmartComponentFeatureDataISmartComponentFeatureData
Expand ISnapShotISnapShot
Expand ISplineHandleISplineHandle
Expand ISplineParamDataISplineParamData
Expand ISplitBodyFeatureDataISplitBodyFeatureData
Expand ISplitLineFeatureDataISplitLineFeatureData
Expand ISpringISpring
Expand IStackedBalloonOptionsIStackedBalloonOptions
Expand IStatusBarPaneIStatusBarPane
Expand IStructuralMemberFeatureDataIStructuralMemberFeatureData
Expand IStructuralMemberGroupIStructuralMemberGroup
Expand ISurfaceISurface
Expand ISurfaceCutFeatureDataISurfaceCutFeatureData
Expand ISurfaceExtendFeatureDataISurfaceExtendFeatureData
Expand ISurfaceKnitFeatureDataISurfaceKnitFeatureData
Expand ISurfaceOffsetFeatureDataISurfaceOffsetFeatureData
Expand ISurfaceParameterizationDataISurfaceParameterizationData
Expand ISurfacePlanarFeatureDataISurfacePlanarFeatureData
Expand ISurfaceRadiateFeatureDataISurfaceRadiateFeatureData
Expand ISurfaceTrimFeatureDataISurfaceTrimFeatureData
Expand ISurfExtrudeFeatureDataISurfExtrudeFeatureData
Expand ISurfRevolveFeatureDataISurfRevolveFeatureData
Expand ISweepFeatureDataISweepFeatureData
Expand ISwOLEObjectISwOLEObject
Expand ISWPropertySheetISWPropertySheet
Expand ITableAnchorITableAnchor
Expand ITableAnnotationITableAnnotation
Expand ITablePatternFeatureDataITablePatternFeatureData
Expand ITaskpaneViewITaskpaneView
Expand ITessellationITessellation
Expand ITextFormatITextFormat
Expand ITextureITexture
Expand IThickenFeatureDataIThickenFeatureData
Expand ITitleBlockITitleBlock
Expand ITitleBlockTableAnnotationITitleBlockTableAnnotation
Expand ITitleBlockTableFeatureITitleBlockTableFeature
Expand IToolingSplitFeatureDataIToolingSplitFeatureData
Expand ITreeControlItemITreeControlItem
Expand ITriadManipulatorITriadManipulator
Expand IUserProgressBarIUserProgressBar
Expand IUserUnitIUserUnit
Expand IVariableFilletFeatureData2IVariableFilletFeatureData2
Expand IVertexIVertex
Expand IViewIView
Expand IWeldBeadIWeldBead
Expand IWeldmentBeadFeatureDataIWeldmentBeadFeatureData
Expand IWeldmentCutListAnnotationIWeldmentCutListAnnotation
Expand IWeldmentCutListFeatureIWeldmentCutListFeature
Expand IWeldmentTrimExtendFeatureDataIWeldmentTrimExtendFeatureData
Expand IWeldSymbolIWeldSymbol
Expand IWizardHoleFeatureData2IWizardHoleFeatureData2
Expand IWrapSketchFeatureDataIWrapSketchFeatureData
Expand SolidWorks.Interop.swmotionstudy NamespaceSolidWorks.Interop.swmotionstudy Namespace
Expand SolidWorks.Interop.swdimxpert NamespaceSolidWorks.Interop.swdimxpert Namespace
Expand SolidWorks.Interop.swpublished NamespaceSolidWorks.Interop.swpublished Namespace
Expand SolidWorks.Interop.sw3dprinter NamespaceSolidWorks.Interop.sw3dprinter Namespace
Expand SolidWorks.Interop.dsgnchk NamespaceSolidWorks.Interop.dsgnchk Namespace
Expand SolidWorks.Interop.swhtmlcontrol NamespaceSolidWorks.Interop.swhtmlcontrol Namespace
Expand SolidWorks.Interop.swconst NamespaceSolidWorks.Interop.swconst Namespace
Expand SolidWorks.Interop.swcommands NamespaceSolidWorks.Interop.swcommands Namespace
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SolidWorks Costing API HelpSolidWorks Costing API Help
Expand SolidWorks Document Manager API HelpSolidWorks Document Manager API Help
Expand SolidWorks Routing API HelpSolidWorks Routing API Help
Expand SolidWorks Simulation API HelpSolidWorks Simulation API Help
Expand SolidWorks Sustainability API HelpSolidWorks Sustainability API Help
Expand SolidWorks Toolbox API HelpSolidWorks Toolbox API Help
Expand SolidWorks Utilities API HelpSolidWorks Utilities API Help
Expand SolidWorks Workgroup PDM API HelpSolidWorks Workgroup PDM API Help
Expand eDrawings API HelpeDrawings API Help
Hide Table of Contents
IPartDoc Interface Members

The following tables list the members exposed by IPartDoc.

Public Properties

 NameDescription
 PropertyIMaterialPropertyValues

Gets or sets a material's properties in the active configuration.

 
 PropertyMaterialIdNameGets and sets the material ID.  
 PropertyMaterialPropertyValuesGets or sets a material's properties in the active configuration.  
 PropertyMaterialUserNameGets or sets the material name. This name is visible to the user.  
Top

Public Methods

 NameDescription
 MethodAddPropertyExtensionStores a float, string, or integer value with a part.  
 MethodBodyObsolete. Superseded by IPartDoc::GetBodies2 and IPartDoc::EnumBodies3.  
 MethodCreateFeatureFromBodyObsolete. Superseded by IPartDoc::CreateFeatureFromBody3.  
 MethodCreateFeatureFromBody2Obsolete. Superseded by IPartDoc::CreateFeatureFromBody3.  
 MethodCreateFeatureFromBody3Creates a new imported feature from the specified temporary body.  
 MethodCreateNewBodyCreates a new body to use for import sewing operations and returns it to the caller.  
 MethodCreateSurfaceFeatureFromBodyCreates a surface feature from a body.  
 MethodDeleteEntityNameDeletes the name associated with the specified entity.  
 MethodEditRebuildObsolete. Superseded by IModelDoc2::EditRebuild3.  
 MethodEditRollbackRolls back the part's history to the feature just before the currently selected feature in the FeatureManager design tree.  
 MethodEditSuppressObsolete. Superseded by IModelDoc2::EditSuppress2.  
 MethodEditUnsuppressObsolete. Superseded by IModelDoc2::EditUnsuppress2.  
 MethodEditUnsuppressDependentObsolete. Superseded by IModelDoc2::EditUnsuppressDependent2.  
 MethodEnumBodiesObsolete. Superseded by IPartDoc::EnumBodies3.  
 MethodEnumBodies2Obsolete. Superseded by IPartDoc::EnumBodies3.  
 MethodEnumBodies3Enumerates the bodies in this part.  
 MethodEnumRelatedBodiesObsolete. Superseded by IPartDoc::EnumRelatedBodies2.  
 MethodEnumRelatedBodies2Creates an enumerated list of bodies.  
 MethodEnumRelatedSectionedBodiesObsolete. Superseded by IPartDoc::EnumRelatedSectionedBodies.  
 MethodEnumRelatedSectionedBodies2Gets an enumeration of the related sectioned bodies in a part.  
 MethodExportFlatPatternViewEnables a sheet metal part to be saved to disk in its flattened state to a DXF/DWG file.   
 MethodExportToDWGEnables various aspects of a part (sheet metal, faces, loops, annotation views) to be saved to disk as a DXF/DWG file.  
 MethodFeatureByIdGets the feature with the specified ID in the part.  
 MethodFeatureByNameGets the named feature in the part.  
 MethodFeatureExtrusionObsolete. Superseded by IFeatureManager::FeatureExtrusion2.  
 MethodFeatureExtrusion2Obsolete. Superseded by IFeatureManager::FeatureExtrusion2.  
 MethodFeatureExtrusion3Obsolete. Superseded by IFeatureManager::FeatureExtrusion2.  
 MethodFeatureExtrusionThinObsolete. Superseded by IFeatureManager::FeatureExtrusionThin2.  
 MethodFeatureExtrusionThin2Obsolete. Superseded by IFeatureManager::FeatureExtrusionThin2.  
 MethodFeatureExtrusionThin3Obsolete. Superseded by IFeatureManager::FeatureExtrusionThin2.  
 MethodFeatureRevolveObsolete. Superseded by IFeatureManager::FeatureRevolve.  
 MethodFeatureRevolve2Obsolete. Superseded by IFeatureManager::FeatureRevolve.  
 MethodFeatureRevolveCutObsolete. Superseded by IFeatureManager::FeatureRevolveCut.  
 MethodFeatureRevolveThinObsolete. Superseded by IFeatureManager::FeatureRevolveThin.  
 MethodFeatureRevolveThin2Obsolete. Superseded by IFeatureManager::FeatureRevolveThin.  
 MethodFeatureRevolveThinCutObsolete. Superseded by IFeatureManager::FeatureRevolveThinCut.  
 MethodFeatureXpertExecutes FeatureXpert, powered by SolidWorks Intelligent Feature Technology ( SWIFT), in parts.  
 MethodFirstFeatureGets the first feature in the part.  
 MethodForceRebuildObsolete. Superseded by IModelDoc2::ForceRebuild3.  
 MethodGetBodiesObsolete. Superseded by IPartDoc::GetBodies2.  
 MethodGetBodies2Gets the bodies in this part.  
 MethodGetCorrespondingObsolete. Superseded by IModelDocExtension::GetCorresponding.  
 MethodGetCorrespondingEntityObsolete. Superseded by IModelDocExtension::GetCorrespondingEntity.  
 MethodGetEntityByNameGets an entity (face, edge, vertex) by name.  
 MethodGetEntityNameGets the name of the specified entity.  
 MethodGetMateReferenceEntityGets the mate reference entity.  
 MethodGetMaterialPropertyNameObsolete. Superseded by IPartDoc::GetMaterialPropertyName2.  
 MethodGetMaterialPropertyName2Gets the names of the material database and the material for the specified configuration.  
 MethodGetMaterialVisualPropertiesGets the material visual properties for this part.  
 MethodGetNamedEntitiesGets an array of names of named entities (face, edge, vertex, and so on) in this part.  
 MethodGetNamedEntitiesCountGets the number of named entities (face, edge, vertex, and so on) in this part.  
 MethodGetPartBoxGets the box enclosing the part.  
 MethodGetProcessedBodyObsolete. Superseded by IBody2::GetProcessedBody2 and IPartDoc::IGetProcessedBody2.  
 MethodGetPropertyExtensionRetrieves a float, string, or integer value from a part document.  
 MethodGetRelatedBodiesCreates a list of all the related bodies in a part.  
 MethodGetRelatedSectionedBodiesGets all of the related sectioned bodies in a part.  
 MethodGetSectionedBodyGets the sectioned body seen in the specified drawing view.  
 MethodGetTessNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation.  
 MethodGetTessTriangleCountGets the number of triangles that make up the shaded picture tessellation for this part.  
 MethodGetTessTrianglesGets the triangles that make up the shaded picture tessellation for this part.  
 MethodGetTessTriStripEdgesGets the edge ID for each of the edges in the triangles that make up the tessellation for this part.  
 MethodGetTessTriStripNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for this part.  
 MethodGetTessTriStripsGets the vertices that make up the shaded picture tessellation for this part.  
 MethodGetTessTriStripSizeGets the size of the array floats required to contain the data returned when calling IPartDoc::GetTessTriStrips and IPartDoc::IGetTessTriStrips.  
 MethodIBodyObjectObsolete. Superseded by IPartDoc::GetBodies2 and IPartDoc::EnumBodies3.  
 MethodIBodyObject2Obsolete. Superseded by IPartDoc::GetBodies2 and IPartDoc::EnumBodies3.  
 MethodICreateFeatureFromBodyObsolete. Superseded by IPartDoc::ICreateFeatureFromBody4.  
 MethodICreateFeatureFromBody2Obsolete. Superseded by IPartDoc::ICreateFeatureFromBody4.  
 MethodICreateFeatureFromBody3Obsolete. Superseded by IPartDoc::ICreateFeatureFromBody4.  
 MethodICreateFeatureFromBody4Creates a new imported feature from the specified temporary body.  
 MethodICreateNewBodyObsolete. Superseded by IPartDoc::ICreateNewBody2.  
 MethodICreateNewBody2Creates a new body to use for import sewing operations and returns it to the caller.  
 MethodICreateSurfaceFeatureFromBodyCreates a surface feature from a body.  
 MethodICreateSurfaceFeatureFromBodyCountObsolete. Superseded by IPartDoc::ICreateSurfaceFeatureFromBodyCount2.  
 MethodICreateSurfaceFeatureFromBodyCount2Gets the number of surface features to create from the body.  
 MethodIDeleteEntityNameDeletes the name associated with the specified entity.  
 MethodIExportToDWGEnables various aspects of a part (sheet metal, faces, loops, annotation views) to be saved to disk as a DXF/DWG file.  
 MethodIFeatureByIdGets the feature with the specified ID in the part.  
 MethodIFeatureByNameGets the named feature in the part.  
 MethodIFirstFeatureGets the first feature in the part.  
 MethodIGetCorrespondingEntityObsolete. Superseded by IModelDocExtension::GetCorrespondingEntity.  
 MethodIGetEntityByNameGets an entity (face, edge, vertex) by name.  
 MethodIGetEntityNameGets the name of the specified entity.  
 MethodIGetNamedEntitiesGets an array of names of named entities (face, edge, vertex, and so on) in this part.  
 MethodIGetPartBoxGets the box enclosing the part.  
 MethodIGetProcessedBodyObsolete. Superseded by IPartDoc::IGetProcessedBody2.  
 MethodIGetProcessedBody2Pre-processes the geometry of a body so that:
  • Closed periodic faces (for example, the lateral face of a cylinder) are split into two faces.

  • Faces that straddle the seam, if any, of the underlying surface are split into two faces.

 
 MethodIGetProcessedBodyWithSelFaceObsolete. Superseded by IPartDoc::IGetProcessedBodyWithSelFace2.  
 MethodIGetProcessedBodyWithSelFace2Gets a processed body.  
 MethodIGetSectionedBodyObsolete. Superseded by IPartDoc::IGetSectionedBody2.  
 MethodIGetSectionedBody2Gets the sectioned body seen in the specified drawing view.  
 MethodIGetTessNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation.  
 MethodIGetTessTrianglesGets the triangles that make up the shaded picture tessellation for this part.  
 MethodIGetTessTriStripEdgesGets the edge ID for each of the edges in the triangles that make up the tessellation for this part.  
 MethodIGetTessTriStripEdgeSizeGets the size of the array returned by IPartDoc::GetTessTriStripEdges and IPartDoc::IGetTessTriStripEdges.  
 MethodIGetTessTriStripNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for this part.  
 MethodIGetTessTriStripsGets the vertices that make up the shaded picture tessellation for this part.  
 MethodImportDiagnosisDiagnoses and repairs any gaps or bad faces on imported features.  
 MethodImportDiagnosisGapCloserAllows you to repair a gap by moving the vertices on the edges surrounding the gap to new positions to close the gap on the imported model.  
 MethodInsertBasePartObsolete. Superseded by IPartDoc::InsertPart.  
 MethodInsertBendsObsolete. Superseded by IPartDoc::InsertBends2.  
 MethodInsertBends2Creates bends in a thin-feature part.  
 MethodInsertMirrorAllMirrors the part about a selected planar face.  
 MethodInsertMirrorFeatureObsolete. Superseded by IFeatureManager::InsertMirrorFeature.  
 MethodInsertPartObsolete. Superseded by IPartDoc::InsertPart2.  
 MethodInsertPart2Inserts an existing part into this part document.  
 MethodISetEntityNameSets the name of the entity if the entity does not have a name.  
 MethodIsMirroredGets whether this part is mirrored.  
 MethodIsWeldmentGets whether this part contains a weldment feature.  
 MethodMakeSectionSaves sketch profiles for use in the wizard.  
 MethodMirrorFeatureDisplays a dialog that allows the end-user to mirror a feature about a selected plane or planar face.  
 MethodMirrorPartMirrors a part about a selected plane or planar face and creates a new part document.  
 MethodRemoveAllDisplayStatesRemoves all display states and appearances from this part document.  
 MethodReorderFeatureReorders features and their operations.  
 MethodResetPropertyExtensionClears all values stored in the property extension.  
 MethodSaveToFileObsolete. Superseded by IPartDoc::SaveToFile2.  
 MethodSaveToFile2Saves the selected surfaces or solid bodies in the Surface Bodies or Solid Bodies folders or sub-folders to part documents (.sldprt).  
 MethodSetCosmosWorksMaterialAssigns the material to use during analysis to this part.  
 MethodSetDroppedFileNameSets the filename for a recently dropped file.  
 MethodSetEntityNameSets the name of the entity if the entity does not have a name.  
 MethodSetLineColorSets the color for the lines in the part document.  
 MethodSetLineStyleSets the style or font for the lines in the part document.  
 MethodSetLineWidthSets the thickness or weight for the lines in the part document.  
 MethodSetMaterialPropertyNameObsolete. Superseded by IPartDoc::SetMaterialPropertyName2.  
 MethodSetMaterialPropertyName2Sets the name of the material property for the specified configuration.  
 MethodSetMaterialVisualPropertiesSets the material visual properties for the active configuration and any specified configurations of this part.  
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:   IPartDoc Interface Members
*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) 2013 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.