Welcome
Getting Started
SolidWorks API Help
Functional Categories
Release Notes
SolidWorks.Interop.sldworks Namespace
Overview
Interfaces
IAdvancedSelectionCriteria
IAnnotation
IAnnotationView
IAppearanceSetting
IAssemblyDoc
IAttribute
IAttributeDef
IAutoBalloonOptions
IBalloonOptions
IBalloonStack
IBaseFlangeFeatureData
IBendsFeatureData
IBendTable
IBendTableAnnotation
IBody2
IBodyFolder
IBomFeature
IBomTable
IBomTableAnnotation
IBomTableSortData
IBreakCornerFeatureData
IBreakLine
IBrokenOutSectionFeatureData
IBSurfParamData
ICallout
ICamera
ICavityFeatureData
ICenterLine
ICenterMark
IChamferFeatureData2
ICircularPatternFeatureData
IClosedCornerFeatureData
ICoEdge
IColorTable
ICombineBodiesFeatureData
ICommandGroup
ICommandManager
ICommandTab
ICommandTabBox
IComment
ICommentFolder
IComponent2
ICompositeCurveFeatureData
IConfiguration
IConfigurationManager
IConnectionPointFeatureData
ICoordinateSystemFeatureData
ICoreFeatureData
ICosmeticThreadFeatureData
ICThread
ICurve
ICurveDrivenPatternFeatureData
ICurveParamData
ICustomBendAllowance
ICustomPropertyManager
IDatumOrigin
IDatumTag
IDatumTargetSym
IDecal
IDeleteBodyFeatureData
IDeleteFaceFeatureData
IDerivedPartFeatureData
IDerivedPatternFeatureData
IDesignTable
IDetailCircle
IDiagnoseResult
IDimension
IDimensionSensorData
IDimensionTolerance
IDimXpertManager
IDisplayData
IDisplayDimension
IDisplayStateSetting
IDocumentSpecification
IDomeFeatureData2
IDowelSymbol
IDraftFeatureData2
IDragArrowManipulator
IDragOperator
IDrawingComponent
IDrawingDoc
IDrSection
IEdge
IEdgeFlangeFeatureData
IEdgePoint
IEndCapFeatureData
IEntity
IEnumBodies2
IEnumCoEdges
IEnumComponents2
IEnumDisplayDimensions
IEnumDocuments2
IEnumDrSections
IEnumEdges
IEnumFaces2
IEnumLoops2
IEnumModelViews
IEnumSketchHatches
IEnumSketchPoints
IEnumSketchSegments
IEnvironment
IEquationMgr
IExplodeStep
IExportPdfData
IExtrudeFeatureData2
IFace2
IFaceDecalProperties
IFaceHatch
IFaultEntity
IFeatMgrView
IFeature
Members
IFeatureFolder
IFeatureManager
IFeatureStatistics
IFillSurfaceFeatureData
IFlatPatternFeatureData
IFlyoutGroup
IFoldsFeatureData
IFrame
IFreePointCurveFeatureData
IGeneralTableAnnotation
IGeneralTableFeature
IGtol
IGussetFeatureData
IHealEdgesFeatureData
IHelixFeatureData
IHemFeatureData
IHoleSeriesFeatureData
IHoleTable
IHoleTableAnnotation
IImportDxfDwgData
IImportedCurveFeatureData
IImportIgesData
IImportStepData
IInterference
IInterferenceDetectionMgr
IJogFeatureData
IJoinFeatureData
ILayer
ILayerMgr
ILibraryFeatureData
ILight
ILightDialog
ILinearPatternFeatureData
ILocalCircularPatternFeatureData
ILocalLinearPatternFeatureData
ILoftedBendsFeatureData
ILoftFeatureData
ILoop2
IMacroFeatureData
IMagneticLine
IManipulator
IMassProperty
IMate2
IMateEntity2
IMateInPlace
IMateLoadReference
IMateReference
IMaterialVisualPropertiesData
IMathPoint
IMathTransform
IMathUtility
IMathVector
IMeasure
IMidSurface3
IMirrorPatternFeatureData
IMirrorSolidFeatureData
IMiterFlangeFeatureData
IModelDoc2
IModelDocExtension
IModeler
IModelView
IModelViewManager
IModelWindow
IMotionPlotAxisFeatureData
IMotionPlotFeatureData
IMouse
IMoveCopyBodyFeatureData
IMoveFaceFeatureData
IMultiJogLeader
INote
IOneBendFeatureData
IPackAndGo
IPageSetup
IParameter
IPartDoc
IPartingLineFeatureData
IPartingSurfaceFeatureData
IPlaneManipulator
IPrint3DDialog
IProjectionArrow
IProjectionCurveFeatureData
IPropertyManagerPage2
IPropertyManagerPageActiveX
IPropertyManagerPageBitmap
IPropertyManagerPageBitmapButton
IPropertyManagerPageButton
IPropertyManagerPageCheckbox
IPropertyManagerPageCombobox
IPropertyManagerPageControl
IPropertyManagerPageGroup
IPropertyManagerPageLabel
IPropertyManagerPageListbox
IPropertyManagerPageNumberbox
IPropertyManagerPageOption
IPropertyManagerPageSelectionbox
IPropertyManagerPageSlider
IPropertyManagerPageTab
IPropertyManagerPageTextbox
IPropertyManagerPageWindowFromHandle
IPunchTable
IPunchTableAnnotation
IRayTraceRenderer
IRayTraceRendererOptions
IRefAxis
IRefAxisFeatureData
IReferenceCurve
IReferencePointCurveFeatureData
IRefPlane
IRefPlaneFeatureData
IRefPoint
IRefPointFeatureData
IRenderMaterial
IReplaceFaceFeatureData
IRevisionTableAnnotation
IRevisionTableFeature
IRevolveFeatureData2
IRibFeatureData2
IRipFeatureData
IRoutingSettings
IRuledSurfaceFeatureData
ISaveBodyFeatureData
IScaleFeatureData
ISectionViewData
ISelectData
ISelectionMgr
ISensor
ISFSymbol
ISheet
ISheetMetalFeatureData
IShellFeatureData
IShutOffSurfaceFeatureData
ISilhouetteEdge
ISimpleFilletFeatureData2
ISimpleHoleFeatureData2
ISimulation3DContactFeatureData
ISimulationDamperFeatureData
ISimulationForceFeatureData
ISimulationGravityFeatureData
ISimulationMotorFeatureData
ISimulationSpringFeatureData
ISketch
ISketchArc
ISketchBlockDefinition
ISketchBlockInstance
ISketchContour
ISketchedBendFeatureData
ISketchEllipse
ISketchHatch
ISketchLine
ISketchManager
ISketchParabola
ISketchPath
ISketchPatternFeatureData
ISketchPicture
ISketchPoint
ISketchRegion
ISketchRelation
ISketchRelationManager
ISketchSegment
ISketchSlot
ISketchSpline
ISketchText
ISldWorks
ISmartComponentFeatureData
ISnapShot
ISplineHandle
ISplineParamData
ISplitBodyFeatureData
ISplitLineFeatureData
ISpring
IStackedBalloonOptions
IStatusBarPane
IStructuralMemberFeatureData
IStructuralMemberGroup
ISurface
ISurfaceCutFeatureData
ISurfaceExtendFeatureData
ISurfaceKnitFeatureData
ISurfaceOffsetFeatureData
ISurfaceParameterizationData
ISurfacePlanarFeatureData
ISurfaceRadiateFeatureData
ISurfaceTrimFeatureData
ISurfExtrudeFeatureData
ISurfRevolveFeatureData
ISweepFeatureData
ISwOLEObject
ISWPropertySheet
ITableAnchor
ITableAnnotation
ITablePatternFeatureData
ITaskpaneView
ITessellation
ITextFormat
ITexture
IThickenFeatureData
ITitleBlock
ITitleBlockTableAnnotation
ITitleBlockTableFeature
IToolingSplitFeatureData
ITreeControlItem
ITriadManipulator
IUserProgressBar
IUserUnit
IVariableFilletFeatureData2
IVertex
IView
IWeldBead
IWeldmentBeadFeatureData
IWeldmentCutListAnnotation
IWeldmentCutListFeature
IWeldmentTrimExtendFeatureData
IWeldSymbol
IWizardHoleFeatureData2
IWrapSketchFeatureData
SolidWorks.Interop.swmotionstudy Namespace
SolidWorks.Interop.swdimxpert Namespace
SolidWorks.Interop.swpublished Namespace
SolidWorks.Interop.sw3dprinter Namespace
SolidWorks.Interop.dsgnchk Namespace
SolidWorks.Interop.swhtmlcontrol Namespace
SolidWorks.Interop.swconst Namespace
SolidWorks.Interop.swcommands Namespace
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
IFeature Interface Members

The following tables list the members exposed by IFeature.

Public Properties

 NameDescription
 PropertyCreatedByGets the name of the user who created the feature.  
 PropertyCustomPropertyManagerGets the custom property information for weldment and cut-list item features only.  
 PropertyDateCreatedGets the date on which the feature was created.  
 PropertyDateModifiedGets the date on which the feature was last modified.  
 PropertyDescriptionGets or sets the description for this feature.  
 PropertyExcludeFromCutListGets or sets whether to exclude this feature from the cut list.  
 PropertyNameGets or sets the name of the current feature.  
 PropertyVisibleGets the visibility state of this feature.  
Top

Public Methods

 NameDescription
 MethodAddCommentAdds a comment to this feature.  
 MethodAddPropertyExtensionStores a float, string, or integer value on a feature.  
 MethodDeSelectDeselects this feature.  
 MethodEnumDisplayDimensionsThis method returns a display dimensions enumeration for this feature.  
 MethodGetAffectedFaceCountGets the number of faces modified by a feature, such as a draft feature.  
 MethodGetAffectedFacesGets the faces modified by a feature, such as a draft feature.  
 MethodGetBodyObsolete. Superseded by IFeatures::GetFaces, IFeatures::IGetFaces2IFace2::GetBody, and IFace2::IGetBody.  
 MethodGetBoxGets the bounding box for this feature.  
 MethodGetChildrenGets the child features belonging to this feature.  
 MethodGetCreatedVersionGets the SolidWorks version number in which the selected feature was created.  
 MethodGetDefinitionGets a feature definition object (e.g., IBaseFlangeFeatureData, IBendsFeatureData, IBreakCornerFeatureData, etc.) that you can use to access the parameters that control the definition of this feature.  
 MethodGetEditStatusGets whether the feature can currently be edited.  
 MethodGetErrorCodeObsolete. Superseded by IFeature::GetErrorCode2.  
 MethodGetErrorCode2Gets the error code for this feature.  
 MethodGetFaceCountGets the number of faces in this feature.  
 MethodGetFacesGets the faces in this feature.  
 MethodGetFirstDisplayDimensionProvides access to the dimensions that belong to this feature by returning the first display dimension associated with this feature.  
 MethodGetFirstSubFeatureGets the first sub-feature that belongs to this feature.  
 MethodGetImportedFileNameGets the file name from an imported feature.  
 MethodGetMaterialIdNameGets the material ID name, which is not visible to the user.  
 MethodGetMaterialPropertyValuesObsolete. Superseded by IFeature::GetMaterialPropertyValues2.  
 MethodGetMaterialPropertyValues2Gets the material properties for this feature.  
 MethodGetMaterialUserNameGets the material name for this feature, which is visible to the user.  
 MethodGetModifiedVersionGets the SolidWorks version number in which this feature was last modified.  
 MethodGetNameForSelectionGets the selected feature's type and name.  
 MethodGetNextDisplayDimensionGets the next display dimension associated with this feature.  
 MethodGetNextFeatureGets the next feature in the part.  
 MethodGetNextSubFeatureGets the next sub-feature from the owner of this sub-feature.  
 MethodGetOwnerFeatureGets the feature that owns this feature.  
 MethodGetParentsGets the parent features for this feature.  
 MethodGetPropertyExtensionGets a float, string, or integer value from a feature.  
 MethodGetSpecificFeatureObsolete. Superseded by IFeature::GetSpecificFeature2.  
 MethodGetSpecificFeature2Gets the interface for the specific feature type.  
 MethodGetTextureGets the texture applied to this feature in the specified configuration.  
 MethodGetTypeNameGets the type of feature.

NOTE: To get the underlying type of feature of an Instant3D feature, call this method; otherwise, call IFeature::GetTypeName2.  

 MethodGetTypeName2Gets the type of feature.

NOTE: To get the underlying type of feature of an Instant3D feature, call IFeature::GetTypeName; otherwise, call IFeature::GetTypeName2.   

 MethodGetUIStateGets the user-interface state of the current feature.  
 MethodGetUpdateStampGets the current update stamp for this feature.  
 MethodHasFrozenUpdatePendingGets whether this feature has pending freeze updates.  
 MethodIGetAffectedFacesGets the faces modified by a feature, such as a draft feature.  
 MethodIGetBodyObsolete. Superseded by IFeatures::GetFaces, IFeatures::IGetFaces2IFace2::GetBody, and IFace2::IGetBody.  
 MethodIGetBody2Obsolete. Superseded by IFeatures::GetFaces, IFeatures::IGetFaces2IFace2::GetBody, and IFace2::IGetBody.  
 MethodIGetBoxGets the bounding box for this feature.  
 MethodIGetChildCountGets the number of child features that belong to this feature.  
 MethodIGetChildrenGets the child features belonging to this feature.  
 MethodIGetDefinitionGets a feature definition object (e.g., IBaseFlangeFeatureData, IBendsFeatureData, IBreakCornerFeatureData, etc.) that you can use to access the parameters that control the definition of this feature.  
 MethodIGetFacesObsolete. Superseded by IFeature::IGetFaces2.  
 MethodIGetFaces2Gets the faces in this feature.  
 MethodIGetFirstSubFeatureGets the first sub-feature that belongs to this feature.  
 MethodIGetMaterialPropertyValuesObsolete. Superseded by IFeature::IGetMaterialPropertyValues2.  
 MethodIGetMaterialPropertyValues2Gets the material properties for this feature.  
 MethodIGetNextFeatureGets the next feature.  
 MethodIGetNextSubFeatureGets the next sub-feature from the owner of this sub-feature.  
 MethodIGetParentCountGets the number of parent features for this feature.  
 MethodIGetParentsGets the parent features for this feature.  
 MethodIGetSpecificFeatureObsolete. Superseded by IFeature::GetSpecificFeature2.  
 MethodIIsSuppressed2Gets whether the feature in the specified configurations is suppressed.  
 MethodIListExternalFileReferencesObsolete. Superseded by IFeature::IListExternalFileReferences2.  
 MethodIListExternalFileReferences2Gets the names and statuses of the external references for the feature in a part or assembly.  
 MethodIModifyDefinitionObsolete. Superseded by IFeature::IModifyDefinition2.  
 MethodIModifyDefinition2Updates the definition of a feature with the new values in an associated feature definition object (e.g., IBaseFlangeFeatureData, IBendsFeatureData, IBreakCornerFeatureData, etc.) obtained with IFeature::IGetDefinition.  
 MethodIParameterGets a pointer to the object for the specified parameter or a pointer to the specified parameter.  
 MethodIRemoveMaterialProperty2Removes material property values from this feature.  
 MethodIsBaseObsolete. Superseded by IFeature::IsBase2.  
 MethodIsBase2Gets whether this feature is a base feature.  
 MethodIsDimXpertAnnotationGets whether this feature is a DimXpert annotation.  
 MethodIsDimXpertFeatureGets whether this feature is a DimXpert feature.  
 MethodISetBodyObsolete. Superseded by IFeature::ISetBody3.  
 MethodISetBody2Obsolete. Superseded by IFeature::ISetBody3.  
 MethodISetBody3Replaces the body of the base feature.  
 MethodISetMaterialPropertyValuesObsolete. Superseded by IFeature::ISetMaterialPropertyValues2.  
 MethodISetMaterialPropertyValues2Sets the material property values for this feature.  
 MethodISetSuppression2Sets the suppression state of this feature.  
 MethodIsFrozenGets whether this feature is frozen.  
 MethodIsHiddenLockGets whether this feature is the freeze bar.  
 MethodIsRolledBackGets whether this feature is rolled back.  
 MethodIsSuppressedObsolete. Superseded by IFeature::IsSuppressed2.  
 MethodIsSuppressed2Gets whether the feature in the specified configurations is suppressed.  
 MethodListExternalFileReferencesObsolete. Superseded by IFeature::ListExternalFileReferences2.  
 MethodListExternalFileReferences2Gets the names and statuses of the external references on the feature in a part or assembly.  
 MethodListExternalFileReferencesCountGets the number of external references on the feature in a part or assembly.  
 MethodMakeSubFeatureMakes a feature become a subfeature of this feature.  
 MethodModifyDefinitionUpdates the definition of a feature with the new values in an associated feature definition object (e.g., IBaseFlangeFeatureData, IBendsFeatureData, IBreakCornerFeatureData, etc.) obtained with IFeature::GetDefinition.  
 MethodMoveFreezeBarToMoves the freeze bar to the specified location in the FeatureManager design tree.  
 MethodParameterGets a pointer to the object for the specified parameter or a pointer to the specified parameter.  
 MethodRemoveMaterialPropertyObsolete. Superseded by IFeature::RemoveMaterialProperty2.  
 MethodRemoveMaterialProperty2Removes material property values from this feature.  
 MethodRemoveTextureRemoves texture from this feature in either all of the configurations or only the specified configuration.  
 MethodRemoveTextureByDisplayStateRemoves texture from this feature in the specified display state.  
 MethodResetPropertyExtensionDeletes the property extension for this feature.  
 MethodSelectObsolete. Superseded by IFeature::Select2.  
 MethodSelect2Selects and marks this feature.  
 MethodSelectByMarkObsolete. Superseded by IFeature::Select2.  
 MethodSetBodiesToKeepSet the bodies to keep and their configurations for features that create multiple bodies in parts and assemblies.  
 MethodSetBodyObsolete. Superseded by IFeature::SetBody2.  
 MethodSetBody2Replaces an imported base feature body.  
 MethodSetImportedFileNameSets the file name of an imported feature.  
 MethodSetMaterialIdNameSets the material ID for this feature, which is not visible to the user.  
 MethodSetMaterialPropertyValuesObsolete. Superseded by IFeature::SetMaterialPropertyValues2.  
 MethodSetMaterialPropertyValues2Sets the material property values for this feature.  
 MethodSetMaterialUserNameSets the material user name for this feature, which is visible to the user.  
 MethodSetSuppressionObsolete. Superseded by IFeature::SetSuppression2.  
 MethodSetSuppression2Sets the suppression state of this feature.  
 MethodSetTextureApplies texture to this feature in either all configurations or only the specified configuration.  
 MethodSetTextureByDisplayStateApplies texture to this feature in the specified display state.  
 MethodSetUIStateSets the user-interface state of the current feature.  
 MethodUpdateExternalFileReferencesUpdates the external file references on this model.  
Top

See Also



Related SolidWorks Forum Content

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:   IFeature Interface Members
*Comment:  
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) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.