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
IPrimaryMemberPointLengthFeatureData Interface

Allows access to a structure system member originating at a point and extending to a specified end condition.

.NET Syntax

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

Example

'VBA

'==========================================================================================
'Preconditions:
'1. Ensure the specified part template exists.
'2. Open an Immediate window.
'3. Press F5.
'
'Postconditions:
' 1. Creates Sketch1, Sketch2, and Sketch3 in a new part.
' 2. Configures the start/end extensions and the member profile.
' 3. Configures the length end condition for the structure members.
' 4. Selects three sketch points.
' 5. Specifies the length.
' 6. Creates a Structure System1 with three structure system point length members.
' 7. Inspect the structure system in the graphics area.
' 8. Press F5 to edit the structure system.
' 9. Gets one structure system member..
'10. Changes the length and member extensions in directions 1 and 2.
'11. Modifies the structure system.
'12. Inspect the changes in the graphics area.
'========================================================================

Dim swApp As SldWorks.SldWorks
Dim modDoc As SldWorks.ModelDoc2
Dim swFeatMgr As SldWorks.FeatureManager
Dim swSelMgr As SldWorks.SelectionMgr
Dim modDocExt As SldWorks.ModelDocExtension
Dim structMemDef As SldWorks.StructureSystemMemberFeatureData
Dim profDef As SldWorks.StructureSystemMemberProfile
Dim PrimDef As SldWorks.PrimaryStructuralMemberFeatureData
Dim memPointLengthDef As SldWorks.PrimaryMemberPointLengthFeatureData
Dim startPoints(2) As Object
Dim stat As Boolean
Dim memData(0) As SldWorks.StructureSystemMemberFeatureData
Dim memDataArray As Variant
Dim systemFeature As SldWorks.Feature
Dim structSysModDef As SldWorks.StructureSystemFolder
Dim outProfiles As Variant
Dim MemberData As SldWorks.StructureSystemMemberFeatureData
Dim memberArray As Variant
Dim profileGrpFeat As SldWorks.Feature
Dim profileGrp As SldWorks.ProfileGroupFolder
Dim memTochange As SldWorks.StructureSystemMemberFeatureData
Dim pointLengthMember As SldWorks.PrimaryMemberPointLengthFeatureData
Dim memberFeat As SldWorks.Feature
Dim I As Long
Dim j As Long
Option Explicit
Sub main()

    Set swApp = Application.SldWorks
    Dim swSheetWidth As Double
    swSheetWidth = 0
    Dim swSheetHeight As Double
    swSheetHeight = 0
    Set modDoc = swApp.NewDocument("C:\ProgramData\SolidWorks\SOLIDWORKS 2022\templates\Part.PRTDOT", 0, swSheetWidth, swSheetHeight)
    Dim swPart As SldWorks.PartDoc
    Set swPart = modDoc
    Set modDoc = swApp.ActiveDoc
   
    Set modDocExt = modDoc.Extension
    Set swSelMgr = modDoc.SelectionManager
   
    modDoc.SketchManager.InsertSketch True
    stat = modDocExt.SelectByID2("Front Plane", "PLANE", -3.78286223842605E-02, 4.26130572878663E-02, -8.98903374939048E-03, False, 0, Nothing, 0)
    modDoc.ClearSelection2 True
    Dim skPoint As SldWorks.SketchPoint
    Set skPoint = modDoc.SketchManager.CreatePoint(-0.040799, 0.008094, 0#)
    modDoc.ClearSelection2 True
    modDoc.SketchManager.InsertSketch True
    stat = modDocExt.SelectByID2("Top Plane", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.SketchManager.InsertSketch True
    Set skPoint = modDoc.SketchManager.CreatePoint(-0.023183, 0.004864, 0#)
    modDoc.ClearSelection2 True
    modDoc.SketchManager.InsertSketch True
    stat = modDocExt.SelectByID2("Right Plane", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.SketchManager.InsertSketch True
    Set skPoint = modDoc.SketchManager.CreatePoint(-0.020877, 0.010539, 0#)
    modDoc.ClearSelection2 True
    modDoc.SketchManager.InsertSketch True

    modDoc.ClearSelection2 True
    modDoc.ShowNamedView2 "*Trimetric", 8
    modDoc.ViewZoomtofit2
   
    'Configure a structure system point length member
    Set structMemDef = modDocExt.CreateStructureSystemMemberData(2)
   
    Debug.Print "Type of structure system member as defined by swStructureSystemMemberType_e: " & structMemDef.StructureSystemMemberType
                   
    structMemDef.StartEndExtendD1 = 1#
    Debug.Print "Extend length in direction 1: " & structMemDef.StartEndExtendD1
    structMemDef.StartEndExtendD2 = 2#
    Debug.Print "Extend length in direction 2: " & structMemDef.StartEndExtendD2
   
    Set profDef = structMemDef.MemberProfile
   
    profDef.ProfileStandard = "ansi inch"
    profDef.ProfileType = "c channel"
    profDef.ProfileSize = "3 x 5"
   
    Set PrimDef = structMemDef
    Debug.Print "Structure system primary member creation type as defined by swStructureSystemMemberCreationType_e: " & PrimDef.PrimaryMemberType; ""
   
    Set memPointLengthDef = PrimDef
                  
    memPointLengthDef.EndCondition = 0
   
    'Set three points that define three structure system point length members
    stat = modDocExt.SelectByID2("Point1@Sketch3", "EXTSKETCHPOINT", -0.020877, 0.010539, 0, False, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Point1@Sketch1", "EXTSKETCHPOINT", -0.040799, 0.008094, 0, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Point1@Sketch2", "EXTSKETCHPOINT", -0.023183, 0.004864, 0, True, 0, Nothing, 0)

    Set startPoints(0) = swSelMgr.GetSelectedObject6(1, 0)
    Set startPoints(1) = swSelMgr.GetSelectedObject6(2, 0)
    Set startPoints(2) = swSelMgr.GetSelectedObject6(3, 0)
   
    stat = memPointLengthDef.SetPoints(startPoints)
    Debug.Print "Start points set successfully: " & stat
     
    'Set the length for each member
    memPointLengthDef.Length = 5
    memPointLengthDef.ReverseDirection = False

    Set memData(0) = structMemDef
     
    memDataArray = memData
     
    Set systemFeature = modDocExt.CreateStructureSystem(memDataArray, Nothing)
   
    modDoc.ViewZoomtofit2
   
    Stop
     
    Set structSysModDef = systemFeature.GetSpecificFeature2
    Debug.Print "Number of structure system profile groups: " & structSysModDef.GetProfileGroupFoldersCount
   
    outProfiles = structSysModDef.GetProfileGroupFolders()
   
    If (Not IsEmpty(outProfiles)) Then
            For I = 0 To UBound(outProfiles)
                Set profileGrpFeat = outProfiles(I)
                Set profileGrp = profileGrpFeat.GetSpecificFeature2
                If Not profileGrp Is Nothing Then
                    Debug.Print "Number of members inside profile group " & profileGrp.GetStructureSystemMemberCount
                    memberArray = profileGrp.GetStructureSystemMembers()
                    If (Not IsEmpty(memberArray)) Then
                        For j = 0 To UBound(memberArray)
                            Set MemberData = memberArray(j) 'Get one structure system member to change
                            Exit For
                        Next
                    End If
                End If
            Next
    End If

    'Changing one member only
    Set memTochange = MemberData
   
    Debug.Print "Change member length and extensions in directions 1 and 2 for one member only"
    memTochange.StartEndExtendD1 = 0.1
    memTochange.StartEndExtendD2 = 0.1
   
    Set pointLengthMember = MemberData
    pointLengthMember.Length = 1
  
    'Save edits
    Set memberFeat = memTochange.GetFeature()
    stat = memberFeat.ModifyDefinition(MemberData, modDoc, Nothing)

End Sub

Example

Remarks

See the IStructureSystemFolder Remarks.

For more information, see the SOLIDWORKS user-interface help > Weldments and Structure System > Structure System > PrimaryMember PropertyManager topic.

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:   IPrimaryMemberPointLengthFeatureData 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.