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 IAdvancedHoleElementDataIAdvancedHoleElementData
Expand IAdvancedHoleFeatureDataIAdvancedHoleFeatureData
Expand IAdvancedSaveAsOptionsIAdvancedSaveAsOptions
Expand IAdvancedSelectionCriteriaIAdvancedSelectionCriteria
Expand IAngleMateFeatureDataIAngleMateFeatureData
Expand IAnnotationIAnnotation
Expand IAnnotationViewIAnnotationView
Expand IAppearanceSettingIAppearanceSetting
Expand IAssemblyDocIAssemblyDoc
Expand IAttributeIAttribute
Expand IAttributeDefIAttributeDef
Expand IAutoBalloonOptionsIAutoBalloonOptions
Expand IBalloonOptionsIBalloonOptions
Expand IBalloonStackIBalloonStack
Expand IBaseFlangeFeatureDataIBaseFlangeFeatureData
Expand IBeltChainFeatureDataIBeltChainFeatureData
Expand IBendsFeatureDataIBendsFeatureData
Expand IBendTableIBendTable
Expand IBendTableAnnotationIBendTableAnnotation
Expand IBody2IBody2
Expand IBodyFolderIBodyFolder
Expand IBomFeatureIBomFeature
Expand IBomTableIBomTable
Expand IBomTableAnnotationIBomTableAnnotation
Expand IBomTableSortDataIBomTableSortData
Expand IBoundaryBossFeatureDataIBoundaryBossFeatureData
Expand IBoundingBoxFeatureDataIBoundingBoxFeatureData
Expand IBreakCornerFeatureDataIBreakCornerFeatureData
Expand IBreakLineIBreakLine
Expand IBrokenOutSectionFeatureDataIBrokenOutSectionFeatureData
Expand IBSurfParamDataIBSurfParamData
Expand ICalloutICallout
Expand ICalloutAngleVariableICalloutAngleVariable
Expand ICalloutLengthVariableICalloutLengthVariable
Expand ICalloutStringVariableICalloutStringVariable
Expand ICalloutVariableICalloutVariable
Expand ICameraICamera
Expand ICamFollowerMateFeatureDataICamFollowerMateFeatureData
Expand ICavityFeatureDataICavityFeatureData
Expand ICenterLineICenterLine
Expand ICenterMarkICenterMark
Expand ICenterOfMassICenterOfMass
Expand IChainPatternFeatureDataIChainPatternFeatureData
Expand IChamferFeatureData2IChamferFeatureData2
Expand ICircularPatternFeatureDataICircularPatternFeatureData
Expand IClosedCornerFeatureDataIClosedCornerFeatureData
Expand ICoEdgeICoEdge
Expand ICoincidentMateFeatureDataICoincidentMateFeatureData
Expand ICollisionICollision
Expand ICollisionDetectionGroupICollisionDetectionGroup
Expand ICollisionDetectionManagerICollisionDetectionManager
Expand IColorTableIColorTable
Expand ICombineBodiesFeatureDataICombineBodiesFeatureData
Expand ICommandGroupICommandGroup
Expand ICommandManagerICommandManager
Expand ICommandTabICommandTab
Expand ICommandTabBoxICommandTabBox
Expand ICommentIComment
Expand ICommentFolderICommentFolder
Expand IComponent2IComponent2
Expand ICompositeCurveFeatureDataICompositeCurveFeatureData
Expand IConcentricMateFeatureDataIConcentricMateFeatureData
Expand IConfigurationIConfiguration
Expand IConfigurationManagerIConfigurationManager
Expand IConnectionPointFeatureDataIConnectionPointFeatureData
Expand ICoordinateSystemFeatureDataICoordinateSystemFeatureData
Expand ICoreFeatureDataICoreFeatureData
Expand ICornerReliefFeatureDataICornerReliefFeatureData
Expand ICosmeticThreadFeatureDataICosmeticThreadFeatureData
Expand ICosmeticWeldBeadFeatureDataICosmeticWeldBeadFeatureData
Expand ICosmeticWeldBeadFolderICosmeticWeldBeadFolder
Expand ICounterboreElementDataICounterboreElementData
Expand ICountersinkElementDataICountersinkElementData
Expand ICrossBreakFeatureDataICrossBreakFeatureData
Expand ICThreadICThread
Expand ICurveICurve
Expand ICurveDrivenPatternFeatureDataICurveDrivenPatternFeatureData
Expand ICurveParamDataICurveParamData
Expand ICustomBendAllowanceICustomBendAllowance
Expand ICustomPropertyManagerICustomPropertyManager
Expand ICutListSortOptionsICutListSortOptions
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 IDimPatternFeatureDataIDimPatternFeatureData
Expand IDimXpertManagerIDimXpertManager
Expand IDisplayDataIDisplayData
Expand IDisplayDimensionIDisplayDimension
Expand IDisplayStateSettingIDisplayStateSetting
Expand IDistanceMateFeatureDataIDistanceMateFeatureData
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 IFacetIFacet
Expand IFaultEntityIFaultEntity
Expand IFeatMgrViewIFeatMgrView
Expand IFeatureIFeature
Expand IFeatureFolderIFeatureFolder
Expand IFeatureManagerIFeatureManager
Expand IFeatureStatisticsIFeatureStatistics
Expand IFillPatternFeatureDataIFillPatternFeatureData
Expand IFillSurfaceFeatureDataIFillSurfaceFeatureData
Expand IFlatPatternFeatureDataIFlatPatternFeatureData
Expand IFlatPatternFolderIFlatPatternFolder
Expand IFlyoutGroupIFlyoutGroup
Expand IFoldsFeatureDataIFoldsFeatureData
Expand IFrameIFrame
Expand IFreePointCurveFeatureDataIFreePointCurveFeatureData
Expand IGearMateFeatureDataIGearMateFeatureData
Expand IGeneralTableAnnotationIGeneralTableAnnotation
Expand IGeneralTableFeatureIGeneralTableFeature
Expand IGeneralToleranceTableAnnotationIGeneralToleranceTableAnnotation
Expand IGeneralToleranceTableFeatureIGeneralToleranceTableFeature
Expand IGraphicsBodyIGraphicsBody
Expand IGroundPlaneFeatureDataIGroundPlaneFeatureData
Expand IGtolIGtol
Expand IGussetFeatureDataIGussetFeatureData
Expand IHealEdgesFeatureDataIHealEdgesFeatureData
Expand IHelixFeatureDataIHelixFeatureData
Expand IHemFeatureDataIHemFeatureData
Expand IHingeMateFeatureDataIHingeMateFeatureData
Expand IHoleDataTableIHoleDataTable
Expand IHoleSeriesFeatureData2IHoleSeriesFeatureData2
Expand IHoleStandardsDataIHoleStandardsData
Expand IHoleTableIHoleTable
Expand IHoleTableAnnotationIHoleTableAnnotation
Expand IImport3DInterconnectDataIImport3DInterconnectData
Expand IImportDxfDwgDataIImportDxfDwgData
Expand IImportedCurveFeatureDataIImportedCurveFeatureData
Expand IImportIgesDataIImportIgesData
Expand IImportStepDataIImportStepData
Expand IIndentFeatureDataIIndentFeatureData
Expand IInstanceToVaryOptionsIInstanceToVaryOptions
Expand IInterferenceIInterference
Expand IInterferenceDetectionMgrIInterferenceDetectionMgr
Expand IIntersectFeatureDataIIntersectFeatureData
Expand IJogFeatureDataIJogFeatureData
Expand IJoinFeatureDataIJoinFeatureData
Expand ILayerILayer
Expand ILayerMgrILayerMgr
Expand ILibraryFeatureDataILibraryFeatureData
Expand ILightILight
Expand ILightDialogILightDialog
Expand ILinearCouplerMateFeatureDataILinearCouplerMateFeatureData
Expand ILinearPatternFeatureDataILinearPatternFeatureData
Expand ILocalCircularPatternFeatureDataILocalCircularPatternFeatureData
Expand ILocalCurvePatternFeatureDataILocalCurvePatternFeatureData
Expand ILocalLinearPatternFeatureDataILocalLinearPatternFeatureData
Expand ILocalSketchPatternFeatureDataILocalSketchPatternFeatureData
Expand ILockMateFeatureDataILockMateFeatureData
Expand ILoftedBendsFeatureDataILoftedBendsFeatureData
Expand ILoftFeatureDataILoftFeatureData
Expand ILoop2ILoop2
Expand IMacroFeatureDataIMacroFeatureData
Expand IMagneticLineIMagneticLine
Expand IManipulatorIManipulator
Expand IMassProperty2IMassProperty2
Expand IMassPropertyOverrideOptionsIMassPropertyOverrideOptions
Expand IMate2IMate2
Expand IMateEntity2IMateEntity2
Expand IMateFeatureDataIMateFeatureData
Expand IMateInPlaceIMateInPlace
Expand IMateLoadReferenceIMateLoadReference
Expand IMateReferenceIMateReference
Expand IMaterialVisualPropertiesDataIMaterialVisualPropertiesData
Expand IMathPointIMathPoint
Expand IMathTransformIMathTransform
Expand IMathUtilityIMathUtility
Expand IMathVectorIMathVector
Expand IMBD3DPdfDataIMBD3DPdfData
Expand IMeasureIMeasure
Expand IMeshBodyIMeshBody
Expand IMessageBarDefinitionIMessageBarDefinition
Expand IMidSurface3IMidSurface3
Expand IMirrorComponentFeatureDataIMirrorComponentFeatureData
Expand IMirrorPartFeatureDataIMirrorPartFeatureData
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 IParagraphsIParagraphs
Expand IParallelMateFeatureDataIParallelMateFeatureData
Expand IParameterIParameter
Expand IPartDocIPartDoc
Expand IPartExplodeStepIPartExplodeStep
Expand IPartialEdgeFilletDataIPartialEdgeFilletData
Expand IPartingLineFeatureDataIPartingLineFeatureData
Expand IPartingSurfaceFeatureDataIPartingSurfaceFeatureData
Expand IPerpendicularMateFeatureDataIPerpendicularMateFeatureData
Expand IPlaneManipulatorIPlaneManipulator
Expand IPLMObjectSpecificationIPLMObjectSpecification
Expand IPMIDatumDataIPMIDatumData
Expand IPMIDatumFeatureIPMIDatumFeature
Expand IPMIDatumTargetIPMIDatumTarget
Expand IPMIDimensionDataIPMIDimensionData
Expand IPMIDimensionItemIPMIDimensionItem
Expand IPMIFrameDataIPMIFrameData
Expand IPMIGtolBoxDataIPMIGtolBoxData
Expand IPMIGtolDataIPMIGtolData
Expand IPMIGtolFrameDatumIPMIGtolFrameDatum
Expand IPrimaryMemberFacePlaneIntersectionFeatureDataIPrimaryMemberFacePlaneIntersectionFeatureData
Expand IPrimaryMemberPathSegmentFeatureDataIPrimaryMemberPathSegmentFeatureData
Expand IPrimaryMemberPointLengthFeatureDataIPrimaryMemberPointLengthFeatureData
Expand IPrimaryMemberRefPlaneFeatureDataIPrimaryMemberRefPlaneFeatureData
Expand IPrimaryStructuralMemberFeatureDataIPrimaryStructuralMemberFeatureData
Expand IPrint3DDialogIPrint3DDialog
Expand IPrintSpecificationIPrintSpecification
Expand IProfileCenterMateFeatureDataIProfileCenterMateFeatureData
Expand IProfileGroupFolderIProfileGroupFolder
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 IRackPinionMateFeatureDataIRackPinionMateFeatureData
Expand IRayTraceRendererIRayTraceRenderer
Expand IRayTraceRendererOptionsIRayTraceRendererOptions
Expand IRefAxisIRefAxis
Expand IRefAxisFeatureDataIRefAxisFeatureData
Expand IReferenceCurveIReferenceCurve
Expand IReferencePointCurveFeatureDataIReferencePointCurveFeatureData
Expand IRefPlaneIRefPlane
Expand IRefPlaneFeatureDataIRefPlaneFeatureData
Expand IRefPointIRefPoint
Expand IRefPointFeatureDataIRefPointFeatureData
Expand IRenamedDocumentReferencesIRenamedDocumentReferences
Expand IRenderMaterialIRenderMaterial
Expand IReplaceFaceFeatureDataIReplaceFaceFeatureData
Expand IRevisionCloudIRevisionCloud
Expand IRevisionTableAnnotationIRevisionTableAnnotation
Expand IRevisionTableFeatureIRevisionTableFeature
Expand IRevolveFeatureData2IRevolveFeatureData2
Expand IRibFeatureData2IRibFeatureData2
Expand IRipFeatureDataIRipFeatureData
Expand IRoutingSettingsIRoutingSettings
Expand IRuledSurfaceFeatureDataIRuledSurfaceFeatureData
Expand ISafeArrayUtilityISafeArrayUtility
Expand ISaveBodyFeatureDataISaveBodyFeatureData
Expand ISaveTo3DExperienceOptionsISaveTo3DExperienceOptions
Expand IScaleFeatureDataIScaleFeatureData
Expand IScrewMateFeatureDataIScrewMateFeatureData
Expand ISecondaryMemberBetweenPointsFeatureDataISecondaryMemberBetweenPointsFeatureData
Expand ISecondaryMemberSupportPlaneFeatureDataISecondaryMemberSupportPlaneFeatureData
Expand ISecondaryStructuralMemberFeatureDataISecondaryStructuralMemberFeatureData
Expand ISectionViewDataISectionViewData
Expand ISelectDataISelectData
Expand ISelectionMgrISelectionMgr
Expand ISelectionSetISelectionSet
Expand ISelectionSetFolderISelectionSetFolder
Expand ISelectionSetItemISelectionSetItem
Expand ISensorISensor
Expand ISFSymbolISFSymbol
Expand ISheetISheet
Expand ISheetMetalFeatureDataISheetMetalFeatureData
Expand ISheetMetalFolderISheetMetalFolder
Expand ISheetMetalGaugeTableParametersISheetMetalGaugeTableParameters
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 ISlicingDataISlicingData
Expand ISlotMateFeatureDataISlotMateFeatureData
Expand ISmartComponentFeatureDataISmartComponentFeatureData
Expand ISMCornerReliefDataISMCornerReliefData
Expand ISMGussetFeatureDataISMGussetFeatureData
Expand ISMNormalCutFeatureData2ISMNormalCutFeatureData2
Expand ISMNormalCutGroupDataISMNormalCutGroupData
Expand ISnapShotISnapShot
Expand ISplineHandleISplineHandle
Expand ISplineParamDataISplineParamData
Expand ISplitBodyFeatureDataISplitBodyFeatureData
Expand ISplitLineFeatureDataISplitLineFeatureData
Expand ISpringISpring
Expand IStackedBalloonOptionsIStackedBalloonOptions
Expand IStatusBarPaneIStatusBarPane
Expand IStraightElementDataIStraightElementData
Expand IStraightTapElementDataIStraightTapElementData
Expand IStructuralMemberFeatureDataIStructuralMemberFeatureData
Expand IStructuralMemberGroupIStructuralMemberGroup
Expand IStructureSystemFolderIStructureSystemFolder
Expand IStructureSystemMemberFeatureDataIStructureSystemMemberFeatureData
Expand IStructureSystemMemberProfileIStructureSystemMemberProfile
Expand IStructureSystemSplitMemberIStructureSystemSplitMember
Expand ISurfaceISurface
Expand ISurfaceCutFeatureDataISurfaceCutFeatureData
Expand ISurfaceExtendFeatureDataISurfaceExtendFeatureData
Expand ISurfaceFlattenFeatureDataISurfaceFlattenFeatureData
Expand ISurfaceKnitFeatureDataISurfaceKnitFeatureData
Expand ISurfaceOffsetFeatureDataISurfaceOffsetFeatureData
Expand ISurfaceParameterizationDataISurfaceParameterizationData
Expand ISurfacePlanarFeatureDataISurfacePlanarFeatureData
Expand ISurfaceRadiateFeatureDataISurfaceRadiateFeatureData
Expand ISurfaceTrimFeatureDataISurfaceTrimFeatureData
Expand ISurfExtrudeFeatureDataISurfExtrudeFeatureData
Expand ISurfRevolveFeatureDataISurfRevolveFeatureData
Expand ISweepFeatureDataISweepFeatureData
Expand ISweptFlangeFeatureDataISweptFlangeFeatureData
Expand ISwOLEObjectISwOLEObject
Expand ISwPEClassFactoryISwPEClassFactory
Expand ISwPETokenISwPEToken
Expand ISWPropertySheetISWPropertySheet
Expand ISwSceneISwScene
Expand ISymmetricMateFeatureDataISymmetricMateFeatureData
Expand ITabAndSlotFeatureDataITabAndSlotFeatureData
Expand ITabAndSlotGroupDataITabAndSlotGroupData
Expand ITableAnchorITableAnchor
Expand ITableAnnotationITableAnnotation
Expand ITablePatternFeatureDataITablePatternFeatureData
Expand ITangentMateFeatureDataITangentMateFeatureData
Expand ITaperedTapElementDataITaperedTapElementData
Expand ITaskpaneViewITaskpaneView
Expand ITessellationITessellation
Expand ITextAndCustomPropertyITextAndCustomProperty
Expand ITextFormatITextFormat
Expand ITextureITexture
Expand IThickenFeatureDataIThickenFeatureData
Expand IThreadFeatureDataIThreadFeatureData
Expand ITitleBlockITitleBlock
Expand ITitleBlockTableAnnotationITitleBlockTableAnnotation
Expand ITitleBlockTableFeatureITitleBlockTableFeature
Expand IToolingSplitFeatureDataIToolingSplitFeatureData
Expand ITreeControlItemITreeControlItem
Expand ITriadManipulatorITriadManipulator
Expand IUniversalJointMateFeatureDataIUniversalJointMateFeatureData
Expand IUserNotificationDefinitionIUserNotificationDefinition
Expand IUserProgressBarIUserProgressBar
Expand IUserUnitIUserUnit
Expand IVariableFilletFeatureData2IVariableFilletFeatureData2
Expand IVertexIVertex
Expand IViewIView
Expand IView3DIView3D
Expand IWeldBeadIWeldBead
Expand IWeldmentBeadFeatureDataIWeldmentBeadFeatureData
Expand IWeldmentCutListAnnotationIWeldmentCutListAnnotation
Expand IWeldmentCutListFeatureIWeldmentCutListFeature
Expand IWeldmentTrimExtendFeatureDataIWeldmentTrimExtendFeatureData
Expand IWeldSymbolIWeldSymbol
Expand IWidthMateFeatureDataIWidthMateFeatureData
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.swscanto3d NamespaceSolidWorks.Interop.swscanto3d Namespace
Expand SolidWorks.Interop.swconst NamespaceSolidWorks.Interop.swconst Namespace
Expand SolidWorks.Interop.swcommands NamespaceSolidWorks.Interop.swcommands Namespace
Expand SOLIDWORKS Electrical API HelpSOLIDWORKS Electrical API Help
Expand SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Expand PDM Pro API Web ServicePDM Pro API Web Service
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 Inspection API HelpSOLIDWORKS Inspection 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 eDrawings API HelpeDrawings API Help
Expand DraftSight API HelpDraftSight API Help
Expand Lisp Programming BasicsLisp Programming Basics
Expand Lisp Functions OverviewLisp Functions Overview
Expand Lisp Functions ReferenceLisp Functions Reference
Expand Visual Lisp Compatible FunctionsVisual Lisp Compatible Functions
Hide Table of Contents
IBeltChainFeatureData Interface

Allows access to a Belt/Chain assembly feature.

.NET Syntax

Visual Basic (Declaration) 
Public Interface IBeltChainFeatureData 
Visual Basic (Usage) 
Dim instance As IBeltChainFeatureData
C# 
public interface IBeltChainFeatureData 
C++/CLI 
public interface class IBeltChainFeatureData 

Example

'VBA

'=====================================================================
'Preconditions: Ensure the specified assembly template and part exist.
'
'Postconditions:
'1. Creates an assembly of two steel discs.
'2. Press F5 to create Belt1 in the FeatureManager design tree.
'   If a Save As dialog appears, click Cancel.
'3. Press F5 to modify Belt1's belt length, belt thickness,
'   and pulley diameters. If a Save As dialog appears, click Cancel.
'============================================================
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
Dim selMgr As SldWorks.SelectionMgr
Dim beltChainFeatData As SldWorks.BeltChainFeatureData
Dim pulleyComps(1) As Object
Dim pulleyDiams(1) As Double
Dim pullyFlips(1) As Boolean
Dim pulleyRefsOri As Variant
Dim pulleyDiamsOri As Variant
Dim swFeat As SldWorks.Feature
Dim swFeatData As SldWorks.BeltChainFeatureData
Dim BeltLocationPlane As SldWorks.Face2
Dim beltPart As SldWorks.PartDoc
Dim index As Long
Dim I As Long
Dim J As Long
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long

Option Explicit
Sub main()

    Set swApp = Application.SldWorks
   
    ' New assembly
   
    Dim swSheetWidth As Double
    swSheetWidth = 0
    Dim swSheetHeight As Double
    swSheetHeight = 0
    Set swModel = swApp.NewDocument("C:\ProgramData\SolidWorks\SOLIDWORKS 2022\templates\Assembly.asmdot", 0, swSheetWidth, swSheetHeight)
    Dim swAssembly As AssemblyDoc
    Set swAssembly = swModel
   
    ' Insert steel disc component
   
    Dim AssemblyTitle As String
    AssemblyTitle = swModel.GetTitle
    Dim tmpObj As ModelDoc2
    Dim errors As Long
    Set tmpObj = swApp.OpenDoc6("C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2022\samples\tutorial\api\AdvancedMates\steel disc.sldprt", 1, 1, "", errors, longwarnings)
    Set swModel = swApp.ActivateDoc3(AssemblyTitle, True, 0, errors)
    Dim swInsertedComponent As Component2
    Set swInsertedComponent = swModel.AddComponent5("C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2022\samples\tutorial\api\AdvancedMates\steel disc.sldprt", 0, "", False, "", 4.04421078452853E-03, 4.04421078422676E-03, 1.22628871084471E-02)
    swApp.CloseDoc "C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2021\samples\tutorial\api\AdvancedMates\steel disc.sldprt"
   
    ' Insert steel disc component
   
    AssemblyTitle = swModel.GetTitle
    Set tmpObj = swApp.OpenDoc6("C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2022\samples\tutorial\api\AdvancedMates\steel disc.sldprt", 1, 1, "", errors, longwarnings)
    Set swModel = swApp.ActivateDoc3(AssemblyTitle, True, 0, errors)
    Set swInsertedComponent = swModel.AddComponent5("C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2022\samples\tutorial\api\AdvancedMates\steel disc.sldprt", 0, "", False, "", 2.00044210784528E-02, 2.00044210784227E-02, 1.22628871084471E-02)
    swApp.CloseDoc "C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2021\samples\tutorial\api\AdvancedMates\steel disc.sldprt"
  
    ' Float the components
   
    boolstatus = swModel.Extension.SelectByID2("steel disc-1", "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)
    swModel.UnfixComponent
    swModel.ClearSelection2 True
    boolstatus = swModel.Extension.SelectByID2("steel disc-2", "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)
    swModel.UnfixComponent
    swModel.ClearSelection2 True
   
    ' Move one disc
   
    boolstatus = swModel.Extension.SelectByID2("steel disc-2@Assem14", "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)
    boolstatus = swModel.Extension.SelectByID2("Unknown", "MANIPULATOR", 3.40009836225566E-02, -3.52899570186584E-03, -1.15173288530189E-02, False, 0, Nothing, 0)
    swModel.ClearSelection2 True
    boolstatus = swModel.Extension.SelectByID2("steel disc-2@Assem14", "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)
    Dim TransformData() As Double
    ReDim TransformData(0 To 15) As Double
    TransformData(0) = 1
    TransformData(1) = 0
    TransformData(2) = 0
    TransformData(3) = 0
    TransformData(4) = 1
    TransformData(5) = 0
    TransformData(6) = 0
    TransformData(7) = 0
    TransformData(8) = 1
    TransformData(9) = 6.64528131333411E-02
    TransformData(10) = 4.6349356621274E-03
    TransformData(11) = 9.19716533133533E-03
    TransformData(12) = 1
    TransformData(13) = 0
    TransformData(14) = 0
    TransformData(15) = 0
    Dim TransformDataVariant As Variant
    TransformDataVariant = TransformData
    Dim swMathUtil As Object
    Set swMathUtil = swApp.GetMathUtility()
    Dim swTransForm As Object
    Set swTransForm = swMathUtil.CreateTransform((TransformDataVariant))
    Dim swComp As Object
    Set swComp = swModel.SelectionManager.GetSelectedObjectsComponent4(1, -1)
    boolstatus = swComp.SetTransformAndSolve2(swTransForm)
    boolstatus = swModel.ForceRebuild3(False)
    swModel.ClearSelection2 True
   
    ' Select the pulley faces
   
    boolstatus = swModel.Extension.SelectByRay(1.30157615084272E-02, 9.90176398499898E-03, 1.21640119419908E-02, -0.333333333266778, -0.333333333254022, -0.881917103743329, 9.73554376657825E-04, 2, False, 0, 0)
    boolstatus = swModel.Extension.SelectByRay(7.69710902559098E-02, 6.67589089525222E-03, 1.12969076145077E-02, -0.333333333266778, -0.333333333254022, -0.881917103743329, 9.73554376657825E-04, 2, False, 0, 0)

    Set selMgr = swModel.SelectionManager
   
    For I = 0 To UBound(pulleyComps)
    Set pulleyComps(I) = selMgr.GetSelectedObject6(I + 1, -1)
    Next
   
    ' Create Belt/Chain feature
   
    Set beltChainFeatData = swModel.FeatureManager.CreateDefinition(swFmBeltAndChain)
   
    For J = 0 To UBound(pulleyComps)
    pulleyDiams(J) = 0.005 * (J + 2)
    Next
   
    beltChainFeatData.PulleyComponents = pulleyComps
    beltChainFeatData.PulleyDiameters = pulleyDiams
   
    pullyFlips(0) = False
    pullyFlips(1) = False
   
    beltChainFeatData.FlipSides = pullyFlips
   
    beltChainFeatData.BeltLocationPlane = selMgr.GetSelectedObject6(3, -1)
   
    beltChainFeatData.DrivingLength = True
    beltChainFeatData.BeltLength = 0.59492
   
    beltChainFeatData.UseBeltThickness = True
    beltChainFeatData.BeltThickness = 0.003
   
    beltChainFeatData.CreateBeltPart = True
    beltChainFeatData.EngageBelt = False
   
    Set swFeat = swModel.FeatureManager.CreateFeature(beltChainFeatData)
   
    Stop
   
    Set swFeatData = swFeat.GetDefinition()
   
    ' Modify Belt/Chain feature
   
    boolstatus = swFeatData.AccessSelections(swModel, Nothing)
   
    pulleyDiamsOri = swFeatData.PulleyDiameters
    pulleyDiamsOri(0) = 0.02
    pulleyDiamsOri(1) = 0.02
   
    swFeatData.PulleyDiameters = pulleyDiamsOri
    Debug.Print "Pulley diameters changed to 20 mm"
   
    swFeatData.DrivingLength = True
    swFeatData.BeltLength = 0.3
    Debug.Print "Belt length (m) changed to " & swFeatData.BeltLength
   
    swFeatData.BeltThickness = 0.002
    Debug.Print "Belt thickness (m) changed to " & swFeatData.BeltThickness
   
    boolstatus = swFeat.ModifyDefinition(swFeatData, swModel, Nothing)

End Sub

Example

Remarks

For more information, see the SOLIDWORKS user-interface help > Assemblies > Other Assembly Techniques > Assembly Features > Creating Assembly Features >

  • Creating a Belt/Chain Assembly Feature
  • Belt/Chain PropertyManager (Assemblies)

Accessors

Access Diagram

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:   IBeltChainFeatureData Interface
*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) 2022 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.