Hide Table of Contents
GetTypeName2 Method (IFeature)

Gets the type of feature.

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

.NET Syntax

Visual Basic (Declaration) 
Function GetTypeName2() As String
Visual Basic (Usage) 
Dim instance As IFeature
Dim value As String
 
value = instance.GetTypeName2()
C# 
string GetTypeName2()
C++/CLI 
String^ GetTypeName2(); 

Return Value

Feature type (see Remarks)

Example

Remarks

Body Features

swTnChamfer _T "Chamfer"

swTnFillet _T "Fillet"

swTnCavity _T "Cavity"

swTnDraft _T "Draft"

swTnMirrorSolid _T "MirrorSolid"

swTnCirPattern _T "CirPattern"

swTnLPattern _T "LPattern"

swTnMirrorPattern _T "MirrorPattern"

swTnShell _T "Shell"

swTnBlend _T "Blend"

swTnBlendCut _T "BlendCut"

swTnExtrusion _T "Extrusion"

swTnBoss _T "Boss"

swTnCut _T "Cut"

swTnICE _T "ICE" //Instant3D

swTnRefCurve _T "RefCurve"

swTnRevolution _T "Revolution"

swTnRevCut _T "RevCut"

swTnSweep _T "Sweep"

swTnSweepCut _T "SweepCut"

swTnStock _T "Stock"

swTnSurfCut _T "SurfCut"

swTnThicken _T "Thicken"

swTnThickenCut _T "ThickenCut"

swTnVarFillet _T "VarFillet"

swTnSketchHole _T "SketchHole"

swTnHoleWzd _T "HoleWzd"

swTnImported _T "Imported"

swTnBaseBody _T "BaseBody"

swTnDerivedLPattern _T "DerivedLPattern"

swTnCosmeticThread _T "CosmeticThread"

Sheet Metal Features

swTnSheetMetal _T "SheetMetal"

swTnFlattenBends _T "FlattenBends"

swTnProcessBends _T "ProcessBends"

swTnOneBend _T "OneBend"

swTnBaseFlange _T "SMBaseFlange"

swTnSketchBend _T "SketchBend"

swTnSM3dBend _T "SM3dBend"

swTnEdgeFlange _T "EdgeFlange"

swTnFlatPattern _T "FlatPattern"

swTnBreakCorner _T "BreakCorner"

swTnCornerTrim _T "CornerTrim"

swTnFormToolInstance _T "FormToolInstance"

Drawing-related Features

swTnCenterMark _T "CenterMark"

swTnDrSheet _T "DrSheet"

swTnAbsoluteView _T "AbsoluteView"

swTnDetailView _T "DetailView"

swTnRelativeView _T "RelativeView"

swTnSectionPartView _T "SectionPartView"

swTnSectionAssemView _T "SectionAssemView"

swTnUnfoldedView _T "UnfoldedView"

swTnAuxiliaryView _T "AuxiliaryView"

swTnDetailCircle _T "DetailCircle"

swTnDrSectionLine _T "DrSectionLine"

swTnBomTableFeature _T "BomFeat"

swTnHoleTableFeature _T "HoleTableFeat"

swTnRevisionTableFeature _T "RevisionTableFeat"

swTnWeldmentTableFeature _T "WeldmentTableFeat"

swTnGeneralTableAnchor _T "GeneralTableAnchor"

swTnHoleTableAnchor _T "HoleTableAnchor"

swTnWeldmentTableAnchor _T "WeldmentTableAnchor"

swTnRevisionTableAnchor _T "RevisionTableAnchor"

swTnBomTableAnchor _T "BomTemplate"

Assembly-related Features

swTnMateCoincident _T "MateCoincident"

swTnMateConcentric _T "MateConcentric"

swTnMateDistanceDim _T "MateDistanceDim"

swTnMateParallel _T "MateParallel"

swTnMateTangent _T "MateTangent"

swTnReference _T "Reference"

swTnSplitReference_T "SplitReference" \\This feature is an assembly created from a weldment part

swTnWeldMemberFeat _T "WeldMemberFeat"

Reference Geometry Features

swTnRefPlane _T "RefPlane"

swTnRefAxis _T "RefAxis"

swTnReferenceCurve _T "ReferenceCurve"

swTnRefSurface _T "RefSurface"

swTnCoordinateSystem _T "CoordSys"

Folder Features

swTnFeatureFolder _T "FtrFolder"

swTnSurfaceBodyFolder _T "SurfaceBodyFolder"

swTnSolidBodyFolder _T "SolidBodyFolder"

swTnCutListFolder _T "CutListFolder"

swTnSubWeldFolder _T "SubWeldFolder"

swTnSubAtomFolder _T "SubAtomFolder"

swTnSimulationFolder _T "AEMSimFeature"

swTnCommentsFolder _T "CommentsFolder"

swTnBlocksFolder _T "BlockFolder"

swTnDocsFolder _T "DocsFolder"

Miscellaneous Features

swTnAttribute _T "Attribute"

swTnProfileFeature _T "ProfileFeature"

swTnPartConfiguration _T "PartConfiguration"

swTnConfiguration _T "Configuration"

swTnSketchBlockDefinition _T "SketchBlockDef"

swTnLibraryFeature _T "LibraryFeature"

swTnSketchPicture _T "SketchBitmap"

Symbol Markers

SYMBOL_MARKER_START

SYMBOL_MARKER_END

SYMBOL_MARKER_SPACE

 

For example, if this feature is a plane, then this method returns swTnRefPlane, which is equivalent to the string value "RefPlane".

 

See Also

Availability

SolidWorks 2008 FCS, Revision Number 16.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:   GetTypeName2 Method (IFeature)
*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) 2010 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.