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 IComplexCornerTreatmentFeatureDataIComplexCornerTreatmentFeatureData
Expand IComponent2IComponent2
Expand ICompositeCurveFeatureDataICompositeCurveFeatureData
Expand IConcentricMateFeatureDataIConcentricMateFeatureData
Expand IConfigurationIConfiguration
Expand IConfigurationManagerIConfigurationManager
Expand IConnectionPointFeatureDataIConnectionPointFeatureData
Expand ICoordinateSystemFeatureDataICoordinateSystemFeatureData
Expand ICoreFeatureDataICoreFeatureData
Expand ICornerManagementFolderICornerManagementFolder
Expand ICornerMemberICornerMember
Expand ICornerReliefFeatureDataICornerReliefFeatureData
Expand ICornerTreatmentFeatureDataICornerTreatmentFeatureData
Expand ICornerTreatmentGroupFolderICornerTreatmentGroupFolder
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 IGtolFrameIGtolFrame
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 IMateControllerFeatureDataIMateControllerFeatureData
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 ISecondaryMemberUpToMembersFeatureDataISecondaryMemberUpToMembersFeatureData
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 ISimpleCornerTreatmentFeatureDataISimpleCornerTreatmentFeatureData
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 ITwoMemberCornerTreatmentFeatureDataITwoMemberCornerTreatmentFeatureData
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
IPrimaryMemberRefPlaneFeatureData Interface

Allows access to a structure system member created along the intersection of two or more planes.

.NET Syntax

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

Example

'VBA

'==========================================================================================
'Preconditions:
'1. Ensure the specified part template exists.
'2. Open an Immediate window.
'3. Press F5.
'
'Postconditions:
' 1. Creates five reference planes:
'       - Plane1 parallel to Right Plane
'       - Plane2 and Plane3 parallel to and flanking Top Plane
'       - Plane4 and Plane5 parallel to and flanking Front Plane
' 2. Configures the member profile.
' 3. Selects the start/end reference planes that define the lengths of the members: Plane1 and Right Plane.
' 4. Selects the axis reference planes that define the direction of the members: Plane2 and Plane3.
' 5. Selects the location reference planes that define the positions of the members: Plane4 and Plane5.
' 6. Creates a Structure System1 with nine structure system reference plane members.
' 7. Inspect the structure system in the graphics area.
' 8. Press F5 to edit the structure system.
' 9. Gets Member1.
'10. Changes its 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 memRefPlaneDef As PrimaryMemberRefPlaneFeatureData
Dim startEndPlanes(1) As Object
Dim horzPlanes(2) As Object
Dim vertPlanes(2) As Object
Dim stat As Boolean
Dim memData(0) As SldWorks.StructureSystemMemberFeatureData
Dim memDataArray As Variant
Dim structSysFeat As SldWorks.Feature
Dim feat 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 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)
   
    Set modDoc = swApp.ActiveDoc
   
    Set swSelMgr = modDoc.SelectionManager
    Set modDocExt = modDoc.Extension

    stat = modDocExt.SelectByID2("Right Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)

    Dim myRefPlane As SldWorks.RefPlane
    Set myRefPlane = modDoc.FeatureManager.InsertRefPlane(8, 0.381, 0, 0, 0, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Top Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    Set myRefPlane = modDoc.FeatureManager.InsertRefPlane(8, 0.1778, 0, 0, 0, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Plane1", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Top Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    Set myRefPlane = modDoc.FeatureManager.InsertRefPlane(264, 0.1778, 0, 0, 0, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Plane2", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Front Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    Set myRefPlane = modDoc.FeatureManager.InsertRefPlane(8, 0.1778, 0, 0, 0, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Plane3", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Front Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    Set myRefPlane = modDoc.FeatureManager.InsertRefPlane(264, 0.1778, 0, 0, 0, 0)
    modDoc.ClearSelection2 True
    stat = modDocExt.SelectByID2("Plane4", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    modDoc.ClearSelection2 True
   
    stat = modDocExt.SelectByID2("Right Plane", "PLANE", 0, 0, 0, False, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Plane1", "PLANE", 7.29275826275853E-02, 0.103693179609365, 0.188906126602433, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Plane2", "PLANE", -0.035035924945646, 8.82769827595098E-02, 0.154770056203461, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Top Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Plane3", "PLANE", -3.59335022268397E-02, 4.86897858681345E-02, 0.154489603864079, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Plane4", "PLANE", -3.53613843872154E-02, 0.122848840931965, 0.120060929442332, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Front Plane", "PLANE", 0, 0, 0, True, 0, Nothing, 0)
    stat = modDocExt.SelectByID2("Plane5", "PLANE", -3.13617150023902E-02, 0.123208535607716, 7.98165581882131E-02, True, 0, Nothing, 0)

    'Create structure system reference plane member
    Set structMemDef = modDocExt.CreateStructureSystemMemberData(1)
    Debug.Print "Type of structure system member as defined by swStructureSystemMemberType_e: " & structMemDef.StructureSystemMemberType
                   
    Debug.Print "Extend length in direction 1 (m): " & structMemDef.StartEndExtendD1
    Debug.Print "Extend length in direction 2 (m): " & 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 memRefPlaneDef = PrimDef
          
    'Define the member lengths
    Set startEndPlanes(0) = swSelMgr.GetSelectedObject6(1, 0)
    Set startEndPlanes(1) = swSelMgr.GetSelectedObject6(2, 0)

    stat = memRefPlaneDef.SetStartAndEndReferences(startEndPlanes)
    Debug.Print "Reference planes set successfully: " & stat
   
    Set horzPlanes(0) = swSelMgr.GetSelectedObject6(3, 0)
    Set horzPlanes(1) = swSelMgr.GetSelectedObject6(4, 0)
    Set horzPlanes(2) = swSelMgr.GetSelectedObject6(5, 0)
     
    stat = memRefPlaneDef.SetReferenceAxes(horzPlanes)
    Debug.Print "Reference axis planes set successfully: " & stat
   
    Set vertPlanes(0) = swSelMgr.GetSelectedObject6(6, 0)
    Set vertPlanes(1) = swSelMgr.GetSelectedObject6(7, 0)
    Set vertPlanes(2) = swSelMgr.GetSelectedObject6(8, 0)
     
    stat = memRefPlaneDef.SetReferenceLocations(vertPlanes)
    Debug.Print "Reference location planes set successfully: " & stat

    Set memData(0) = structMemDef
     
    memDataArray = memData

    Set structSysFeat = modDocExt.CreateStructureSystem(memDataArray, Nothing)
   
    modDoc.ShowNamedView2 "*Trimetric", 8
    modDoc.ViewZoomtofit2
   
    Stop
 
    Set structSysModDef = structSysFeat.GetSpecificFeature2
    Debug.Print "Number of profile group folders: " & 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 in profile group folder: " & profileGrp.GetStructureSystemMemberCount
                      memberArray = profileGrp.GetStructureSystemMembers()
                        If (Not IsEmpty(memberArray)) Then
                            For j = 0 To UBound(memberArray)
                                Set MemberData = memberArray(j) 'Get first member only
                                Exit For
                             Next
                        End If
                    End If
                Next
    End If

    Set memTochange = MemberData
   
    Set feat = memTochange.GetFeature()
   
    'Change the extensions in directions 1 and 2 for Member1
    memTochange.StartEndExtendD1 = 0.5
    memTochange.StartEndExtendD2 = 0.2

    modDoc.ClearSelection2 True
     
    Debug.Print "Member extensions set successfully: " & stat
     
    'Save edits
    stat = feat.ModifyDefinition(MemberData, modDoc, Nothing)
 
End Sub

Example

Remarks

The number of members created = (IPrimaryMemberRefPlaneFeatureData::GetReferenceAxesIPrimaryMemberRefPlaneFeatureData::GetReferenceLocations)

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:   IPrimaryMemberRefPlaneFeatureData 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) 2023 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.