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
Collapse IComponent2IComponent2
Members
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
Expand IPartDocIPartDoc
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
IComponent2 Interface Members

The following tables list the members exposed by IComponent2.

Public Properties

 NameDescription
 PropertyComponentReferenceGets or sets a component reference for this component.  
 PropertyExcludeFromBOMGets or sets whether to exclude a component from the bill of materials.  
 PropertyIMaterialPropertyValuesGets or sets the material properties for the selected component in the active configuration.  
 PropertyIsVirtual

Gets whether this component is a virtual component.

NOTE: This property is a get-only property. Set is not implemented.

 
 PropertyMaterialPropertyValuesGets or sets the material properties for the selected component in the active configuration.  
 PropertyNameObsolete. Superseded by IComponent2::Name2.  
 PropertyName2Gets or sets the name of the selected component.   
 PropertyPresentationTransformGets or sets the component transform.  
 PropertyReferencedConfigurationGets or sets the active configuration used by this component.  
 PropertyReferencedDisplayStateGets the active display state of this component.  
 PropertySolvingGets the Solve as option (rigid or flexible) of this component.  
 PropertyTransformObsolete. Superseded by IComponent2::Transform2.  
 PropertyTransform2Gets or sets the component transform.  
 PropertyUseNamedConfigurationGets whether a specified configuration or the in-use/last active configuration is used.  
 PropertyVisibleGets the visibility state of this component.  
Top

Public Methods

 NameDescription
 MethodAddPropertyExtensionStores a float, string, or integer value on this component.  
 MethodDeSelectDeselects this component.  
 MethodEnumBodiesObsolete. Superseded by IComponent2::EnumBodies2.  
 MethodEnumBodies2Gets the bodies in the component in a multibody part.  
 MethodEnumRelatedBodiesCreates an enumerated list of bodies.  
 MethodEnumSectionedBodiesGets the sectioned bodies seen in the specified view and returns them in an enumerated list.  
 MethodFeatureByNameGets the specified feature for this component.  
 MethodFindAttributeFinds an attribute on a component.  
 MethodFirstFeatureGets the first feature in this component.  
 MethodGetBodiesObsolete. Superseded by IComponent2::GetBodies2.  
 MethodGetBodies2Obsolete. Superseded by IComponent2::GetBodies3.  
 MethodGetBodies3Gets the bodies in the component.  
 MethodGetBody

Gets the body that belongs to this instance of this component.

 
 MethodGetBoxGets the bounding box for component.  
 MethodGetChildrenGets all of the children components of this component.  
 MethodGetConstrainedStatusGets the constrained status of this component.  
 MethodGetCorrespondingGets the corresponding object in the context of the assembly for a particular instance of the component.  
 MethodGetCorrespondingEntityGets the entity that corresponds with the Dispatch pointer in the context of the component.  
 MethodGetDecalsGets the decals applied to this component.  
 MethodGetDecalsCountGets the number of decals applied to this component.  
 MethodGetDrawingComponentGets the drawing component for this component.  
 MethodGetHiddenUnloadedChildrenCountGets the number of hidden children components of this component that were not loaded when an assembly was opened selectively.  
 MethodGetMaterialIdNameGets the identifying name of the material for this component object.  
 MethodGetMaterialPropertyValues2Gets the material properties for this component.  
 MethodGetMaterialUserNameGets the user-visible name of the material for this component.  
 MethodGetMatesGets the mates for this component.  
 MethodGetModelDocObsolete. Superseded by IComponent2::GetModelDoc2.  
 MethodGetModelDoc2Gets the model document for this component.  
 MethodGetModelMaterialPropertyValuesGets the material properties of this lightweight component in the specified configuration.  
 MethodGetModelTextureGets the texture applied to this lightweight component in the specified configuration.  
 MethodGetParentGets the parent component.  
 MethodGetPathNameGets the full path name for this component.  
 MethodGetPropertyExtensionGets a float, string, or integer value from a component.  
 MethodGetRenderMaterialsGets the appearances applied to this component.  
 MethodGetRenderMaterialsCountGets the number of appearances applied to this component.  
 MethodGetSectionedBodiesGets the sectioned bodies in the specified section view.  
 MethodGetSelectByIDStringGets the name of the component for possible use with IModelDocExtension::SelectByID2, for selectively opening a document using ISldWorks::OpenDoc7 and IDocumentSpecification, etc.  
 MethodGetSmartComponentDataGets the features, components, and feature references of a Smart Component.  
 MethodGetSuppressionGets the suppression state of this component.  
 MethodGetTessNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for the component.  
 MethodGetTessTrianglesGets the triangles that make up the shaded picture tessellation for this component.  
 MethodGetTessTriStripEdgesGets the edge IDs for the triangle strips.  
 MethodGetTessTriStripNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for this component.  
 MethodGetTessTriStripsGets the vertices that make up the shaded picture tessellation for this component.  
 MethodGetTextureGets the texture applied to this component in the specified configuration.  
 MethodGetTotalTransformCombines the original transform of this component with the presentation transform of this component.  
 MethodGetUnloadedComponentNamesGets the component's unloaded children components' path names, referenced configuration names, reasons why they are unloaded, document types, and names.  
 MethodGetVisibilityGets the visibility state for this component.  
 MethodGetXformObsolete. Superseded by IComponent2::Transform2.  
 MethodHasUnloadedComponentsGets whether this component has hidden or suppressed unloaded children components.  
 MethodIFindAttributeFinds an attribute on a component.  
 MethodIGetBody

Gets the body that belongs to this instance of this component.

 
 MethodIGetBoxGets the bounding box for component.  
 MethodIGetChildrenGets all of the children components of this component.  
 MethodIGetChildrenCountGets the number of children components for this component.  
 MethodIGetCorrespondingEntityGets the entity that corresponds with the Dispatch pointer in the context of the component.  
 MethodIGetDecalsGets the decals applied to this component.  
 MethodIGetMaterialPropertyValues2Gets the material properties for this component.  
 MethodIGetMaterialPropertyValuesForFaceGets the color of the specified face.  
 MethodIGetModelDocObsolete. Superseded by IComponent2::GetModelDoc2.  
 MethodIGetModelMaterialPropertyValuesGets the material properties of this lightweight component in the specified configuration.  
 MethodIGetRenderMaterialsGets the appearances applied to this component.  
 MethodIGetTemporaryBodyIDGets the current body tag ID, which is not a permanent ID.  
 MethodIGetTessNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for the component.  
 MethodIGetTessTriangleCountGets the number of triangles that make up the shaded picture tessellation for this component.  
 MethodIGetTessTrianglesGets the triangles that make up the shaded picture tessellation for this component.  
 MethodIGetTessTriStripEdgesGets the edge IDs for the triangle strips.  
 MethodIGetTessTriStripEdgeSizeGets the number of tessellation triangle edges.  
 MethodIGetTessTriStripNormsGets the normal vector for each of the triangles, which make up the shaded picture tessellation for this component.  
 MethodIGetTessTriStripsGets the vertices that make up the shaded picture tessellation for this component.  
 MethodIGetTessTriStripSizeGets the array size of floats required to contain the data returned when calling IComponent2::IGetTessTriStrips.  
 MethodIGetVisibilityGets the visibility state for this component.  
 MethodIGetXformObsolete. Superseded by IComponent2::Transform2.  
 MethodIListExternalFileReferencesObsolete. Superseded by IComponent2::IListExternalFileReferences2.  
 MethodIListExternalFileReferences2Gets the names and statuses of the external references on the component.  
 MethodIRemoveMaterialProperty2Removes material property values from the component.  
 MethodIsDisplayDataOutOfDateGets the status of the display data for this component.  
 MethodIsEnvelopeGets information about whether this component is an envelope.  
 MethodISetMaterialPropertyValues2Sets the material properties for this component.  
 MethodISetVisibilitySets the visibility state for this component.  
 MethodISetXformObsolete. Superseded by IComponent2::Transform2.  
 MethodISetXformAndSolveObsolete. Superseded by IComponent2::SetTransformAndSolve2.  
 MethodIsFixedGets whether the component is fixed or floating.  
 MethodIsHiddenGets whether this component is hidden or suppressed.  
 MethodIsLoadedGets whether a component is loaded.  
 MethodIsMirroredGets whether this component is mirrored.  
 MethodIsPatternInstanceGets whether the component is a member of a pattern instance.  
 MethodIsRootGets whether this component is the root component.  
 MethodIsSmartComponentGets whether this component is a Smart Component.  
 MethodIsSuppressedGets whether this component is suppressed.  
 MethodListExternalFileReferencesObsolete. Superseded by IComponent2::ListExternalFileReferences2.  
 MethodListExternalFileReferences2Gets the names and statuses of the external file references on the component.  
 MethodListExternalFileReferencesCountGets the number of external references on the component.  
 MethodMakeVirtualMakes this component virtual by saving it in the current assembly.  
 MethodRemoveMaterialPropertyObsolete. Superseded by IComponent2::RemoveMaterialProperty2.  
 MethodRemoveMaterialProperty2Removes the appearance from the component.  
 MethodRemovePresentationTransformRemoves the presentation transform from this component.  
 MethodRemoveTextureRemoves the texture from this component in the specified configuration.  
 MethodRemoveTextureByDisplayStateRemoves the texture applied to this component in the specified display state.  
 MethodReplaceReferenceObsolete. Superseded by AssemblyDoc::ReplaceComponents.  
 MethodResetPropertyExtensionClears all of the values stored in the property extension.  
 MethodSaveVirtualComponentSaves a virtual component to an external file.  
 MethodSelectObsolete. Superseded by IComponent2::Select3.  
 MethodSelect2Obsolete. Superseded by IComponent2::Select3.  
 MethodSelect3Obsolete. Superseded by IComponent2::Select4.  
 MethodSelect4Selects the component.  
 MethodSelectByMarkObsolete. Superseded by IComponent2::Select3.  
 MethodSetCosmosWorksMaterialAssigns the material to use during analysis to this component.  
 MethodSetMaterialIdNameSets the material ID for this component. This value is not visible to the user.  
 MethodSetMaterialPropertyValues2Sets the material properties for this component.  
 MethodSetMaterialUserNameSets the material user name for this component.  
 MethodSetSmartComponentDataSets the features, components, and feature references of a Smart Component.  
 MethodSetSuppressionObsolete. Superseded by IComponent2::SetSuppression2.  
 MethodSetSuppression2Sets the suppression state of this component.  
 MethodSetTextureApplies texture to this component in the specified configuration.  
 MethodSetTextureByDisplayStateSets the texture applied to this component in the specified display state.  
 MethodSetTransformAndSolveObsolete. Superseded by IComponent2::SetTransformAndSolve2.  
 MethodSetTransformAndSolve2Sets the transform and solves for the mates for this component.  
 MethodSetVisibilitySets the visibility state for this component.  
 MethodSetXformObsolete. Superseded by IComponent2::Transform2.  
 MethodSetXformAndSolveObsolete. Superseded by IComponent2::SetTransformAndSolve2.  
 MethodUpdateExternalFileReferencesUpdates the external file references of 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:   IComponent2 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.