Hide Table of Contents
IFeature Interface Methods

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

Public Methods

 NameDescription
 MethodAddCommentAdds a comment to this feature.  
 MethodAddPropertyExtensionAdds a property extension to this feature.  
 MethodBreakLinkBreaks the link to third-party native CAD parts and assemblies.  
 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 the feature data object for a feature, such as an advanced mate, extrusion, loft, fillet, chamfer, etc., in order to access the parameters that control the definition of this feature.  
 MethodGetDisplayDimensionGets the display dimension object for the specified pattern property.  
 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.  
 MethodGetIDGets the feature ID of this feature.  
 MethodGetImportedFeatureParametersGets the data object for this 3D Interconnect part or assembly.  
 MethodGetImportedFileNameGets the file name from an imported feature.  
 MethodGetMaterialIdNameGets the material name.  
 MethodGetMaterialPropertyValuesObsolete. Superseded by IFeature::GetMaterialPropertyValues2.  
 MethodGetMaterialPropertyValues2Gets the material property values for this feature in the specified configurations.  
 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 the property extension on this feature.  
 MethodGetSpecificFeatureObsolete. Superseded by IFeature::GetSpecificFeature2.  
 MethodGetSpecificFeature2Gets the more specific interface to a selected feature.  
 MethodGetTextureGets the texture applied to this feature in the specified configuration.  
 MethodGetTypeName

Gets the type of feature. 

NOTE: To get the underlying type of feature of an Instant3D feature (i.e., "ICE"), call this method; otherwise, call IFeature::GetTypeName2.

 
 MethodGetTypeName2

Gets the type of feature.

NOTE: To get the underlying type of feature of an Instant3D feature (i.e., "ICE"), call IFeature::GetTypeName; otherwise, call this method. 

 
 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.  
 MethodHasMaterialPropertyValuesGets whether this feature has an appearance.  
 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 the feature data object for a feature, such as an extrusion, loft, fillet, chamfer, etc., in order 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 property values for this feature in the specified configurations.  
 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 this 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 data object 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 in the specified configurations.  
 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 data object obtained with IFeature::GetDefinition.  
 MethodMoveFreezeBarToObsolete. Superseded by IFeature::MoveFreezeBarTo2.  
 MethodMoveFreezeBarTo2Moves 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.  
 MethodSetImportedFeatureParametersSets the data object for this 3D Interconnect part or assembly.  
 MethodSetImportedFileNameSets the file name of an imported feature.  
 MethodSetMaterialIdNameSets the material name for this feature.  
 MethodSetMaterialPropertyValuesObsolete. Superseded by IFeature::SetMaterialPropertyValues2.  
 MethodSetMaterialPropertyValues2Sets the material property values for this feature in the specified configurations.  
 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.  
 MethodUpdate3DInterconnectModelUpdates the model for this 3D Interconnect part or assembly.  
 MethodUpdateExternalFileReferencesUpdates the external file references on this model.  
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:   IFeature 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) 2021 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.