Welcome
Getting Started
SolidWorks API Help
Functional Categories
Release Notes
SolidWorks.Interop.sldworks Namespace
Overview
Interfaces
IAdvancedSelectionCriteria
IAnnotation
IAnnotationView
IAppearanceSetting
IAssemblyDoc
IAttribute
IAttributeDef
IAutoBalloonOptions
IBalloonOptions
IBalloonStack
IBaseFlangeFeatureData
IBendsFeatureData
IBendTable
IBendTableAnnotation
IBody2
IBodyFolder
IBomFeature
IBomTable
IBomTableAnnotation
IBomTableSortData
IBreakCornerFeatureData
IBreakLine
IBrokenOutSectionFeatureData
IBSurfParamData
ICallout
ICamera
ICavityFeatureData
ICenterLine
ICenterMark
IChamferFeatureData2
ICircularPatternFeatureData
IClosedCornerFeatureData
ICoEdge
IColorTable
ICombineBodiesFeatureData
ICommandGroup
ICommandManager
ICommandTab
ICommandTabBox
IComment
ICommentFolder
IComponent2
ICompositeCurveFeatureData
IConfiguration
IConfigurationManager
IConnectionPointFeatureData
ICoordinateSystemFeatureData
ICoreFeatureData
ICosmeticThreadFeatureData
ICThread
ICurve
ICurveDrivenPatternFeatureData
ICurveParamData
ICustomBendAllowance
ICustomPropertyManager
IDatumOrigin
IDatumTag
IDatumTargetSym
IDecal
IDeleteBodyFeatureData
IDeleteFaceFeatureData
IDerivedPartFeatureData
IDerivedPatternFeatureData
IDesignTable
IDetailCircle
IDiagnoseResult
IDimension
IDimensionSensorData
IDimensionTolerance
IDimXpertManager
IDisplayData
IDisplayDimension
IDisplayStateSetting
IDocumentSpecification
IDomeFeatureData2
IDowelSymbol
IDraftFeatureData2
IDragArrowManipulator
IDragOperator
IDrawingComponent
IDrawingDoc
IDrSection
IEdge
IEdgeFlangeFeatureData
IEdgePoint
IEndCapFeatureData
IEntity
IEnumBodies2
IEnumCoEdges
IEnumComponents2
IEnumDisplayDimensions
IEnumDocuments2
IEnumDrSections
IEnumEdges
IEnumFaces2
IEnumLoops2
IEnumModelViews
IEnumSketchHatches
IEnumSketchPoints
IEnumSketchSegments
IEnvironment
IEquationMgr
IExplodeStep
IExportPdfData
IExtrudeFeatureData2
IFace2
IFaceDecalProperties
IFaceHatch
IFaultEntity
IFeatMgrView
IFeature
IFeatureFolder
IFeatureManager
IFeatureStatistics
IFillSurfaceFeatureData
IFlatPatternFeatureData
IFlyoutGroup
IFoldsFeatureData
IFrame
IFreePointCurveFeatureData
IGeneralTableAnnotation
IGeneralTableFeature
IGtol
IGussetFeatureData
IHealEdgesFeatureData
IHelixFeatureData
IHemFeatureData
IHoleSeriesFeatureData
IHoleTable
IHoleTableAnnotation
IImportDxfDwgData
IImportedCurveFeatureData
IImportIgesData
IImportStepData
IInterference
IInterferenceDetectionMgr
IJogFeatureData
IJoinFeatureData
ILayer
ILayerMgr
ILibraryFeatureData
ILight
ILightDialog
ILinearPatternFeatureData
ILocalCircularPatternFeatureData
ILocalLinearPatternFeatureData
ILoftedBendsFeatureData
ILoftFeatureData
ILoop2
IMacroFeatureData
IMagneticLine
IManipulator
IMassProperty
IMate2
IMateEntity2
IMateInPlace
IMateLoadReference
IMateReference
IMaterialVisualPropertiesData
IMathPoint
IMathTransform
IMathUtility
IMathVector
IMeasure
IMidSurface3
IMirrorPatternFeatureData
IMirrorSolidFeatureData
IMiterFlangeFeatureData
IModelDoc2
IModelDocExtension
IModeler
IModelView
IModelViewManager
IModelWindow
IMotionPlotAxisFeatureData
IMotionPlotFeatureData
IMouse
IMoveCopyBodyFeatureData
IMoveFaceFeatureData
IMultiJogLeader
INote
IOneBendFeatureData
IPackAndGo
IPageSetup
IParameter
IPartDoc
IPartingLineFeatureData
IPartingSurfaceFeatureData
IPlaneManipulator
IPrint3DDialog
IProjectionArrow
IProjectionCurveFeatureData
IPropertyManagerPage2
IPropertyManagerPageActiveX
IPropertyManagerPageBitmap
IPropertyManagerPageBitmapButton
IPropertyManagerPageButton
IPropertyManagerPageCheckbox
IPropertyManagerPageCombobox
IPropertyManagerPageControl
IPropertyManagerPageGroup
IPropertyManagerPageLabel
IPropertyManagerPageListbox
IPropertyManagerPageNumberbox
IPropertyManagerPageOption
IPropertyManagerPageSelectionbox
IPropertyManagerPageSlider
IPropertyManagerPageTab
IPropertyManagerPageTextbox
IPropertyManagerPageWindowFromHandle
IPunchTable
IPunchTableAnnotation
IRayTraceRenderer
IRayTraceRendererOptions
IRefAxis
IRefAxisFeatureData
IReferenceCurve
IReferencePointCurveFeatureData
IRefPlane
IRefPlaneFeatureData
IRefPoint
IRefPointFeatureData
IRenderMaterial
IReplaceFaceFeatureData
IRevisionTableAnnotation
IRevisionTableFeature
IRevolveFeatureData2
IRibFeatureData2
IRipFeatureData
IRoutingSettings
IRuledSurfaceFeatureData
ISaveBodyFeatureData
IScaleFeatureData
ISectionViewData
ISelectData
ISelectionMgr
ISensor
ISFSymbol
ISheet
ISheetMetalFeatureData
IShellFeatureData
IShutOffSurfaceFeatureData
ISilhouetteEdge
ISimpleFilletFeatureData2
ISimpleHoleFeatureData2
ISimulation3DContactFeatureData
ISimulationDamperFeatureData
ISimulationForceFeatureData
ISimulationGravityFeatureData
ISimulationMotorFeatureData
ISimulationSpringFeatureData
ISketch
ISketchArc
ISketchBlockDefinition
ISketchBlockInstance
ISketchContour
ISketchedBendFeatureData
ISketchEllipse
ISketchHatch
ISketchLine
ISketchManager
ISketchParabola
ISketchPath
ISketchPatternFeatureData
ISketchPicture
ISketchPoint
ISketchRegion
ISketchRelation
ISketchRelationManager
ISketchSegment
ISketchSlot
ISketchSpline
ISketchText
ISldWorks
Members
ISmartComponentFeatureData
ISnapShot
ISplineHandle
ISplineParamData
ISplitBodyFeatureData
ISplitLineFeatureData
ISpring
IStackedBalloonOptions
IStatusBarPane
IStructuralMemberFeatureData
IStructuralMemberGroup
ISurface
ISurfaceCutFeatureData
ISurfaceExtendFeatureData
ISurfaceKnitFeatureData
ISurfaceOffsetFeatureData
ISurfaceParameterizationData
ISurfacePlanarFeatureData
ISurfaceRadiateFeatureData
ISurfaceTrimFeatureData
ISurfExtrudeFeatureData
ISurfRevolveFeatureData
ISweepFeatureData
ISwOLEObject
ISWPropertySheet
ITableAnchor
ITableAnnotation
ITablePatternFeatureData
ITaskpaneView
ITessellation
ITextFormat
ITexture
IThickenFeatureData
ITitleBlock
ITitleBlockTableAnnotation
ITitleBlockTableFeature
IToolingSplitFeatureData
ITreeControlItem
ITriadManipulator
IUserProgressBar
IUserUnit
IVariableFilletFeatureData2
IVertex
IView
IWeldBead
IWeldmentBeadFeatureData
IWeldmentCutListAnnotation
IWeldmentCutListFeature
IWeldmentTrimExtendFeatureData
IWeldSymbol
IWizardHoleFeatureData2
IWrapSketchFeatureData
SolidWorks.Interop.swmotionstudy Namespace
SolidWorks.Interop.swdimxpert Namespace
SolidWorks.Interop.swpublished Namespace
SolidWorks.Interop.sw3dprinter Namespace
SolidWorks.Interop.dsgnchk Namespace
SolidWorks.Interop.swhtmlcontrol Namespace
SolidWorks.Interop.swconst Namespace
SolidWorks.Interop.swcommands Namespace
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
ISldWorks Interface Members

The following tables list the members exposed by ISldWorks.

Public Properties

 NameDescription
 PropertyActiveDocGets the currently active document.  
 PropertyActivePrinterObsolete. Superseded by IModelDoc2::Printer.  
 PropertyCommandInProgressImproves performance of out-of-process applications by informing SolidWorks that a sequence of API calls will be made by the out-of-process application.  
 PropertyEnableBackgroundProcessingGets or sets whether to enable background processing.  
 PropertyEnableFileMenuGets or sets whether to enable file-related menus and toolbars.  
 PropertyFrameHeightGet or sets the height of the SolidWorks window.  
 PropertyFrameLeftGets or sets the left position of the SolidWorks window.  
 PropertyFrameStateGets or sets the window state (minimum, maximum, or normal) for the SolidWorks window.  
 PropertyFrameTopGets or sets the top position of the SolidWorks window.  
 PropertyFrameWidthGets or sets the width of the frame of the SolidWorks window.  
 PropertyIActiveDocObsolete. Superseded by ISldWorks::IActiveDoc2.  
 PropertyIActiveDoc2Gets the currently active document.  
 PropertyTaskPaneIsPinnedGets or sets whether the SolidWorks Task Pane is pinned.  
 PropertyUserControlGets and sets whether the user has control over the application.  
 PropertyUserControlBackgroundGets and sets whether the user has control over the application.  
 PropertyUserTypeLibReferencesGets and sets the user-specified type library references.  
 PropertyVisibleGets and sets the visibility property of the SolidWorks application.  
Top

Public Methods

 NameDescription
 MethodActivateDocObsolete. Superseded by ISldWorks::ActivateDoc2 and ISldWorks::IActivateDoc3.  
 MethodActivateDoc2Obsolete. Superseded by ISldWorks::ActivateDoc3.  
 MethodActivateDoc3Activates a loaded document and rebuilds it as specified.  
 MethodActivateTaskPaneActivates the specified task pane.  
 MethodAddCallbackRegisters a general purpose callback handler.  
 MethodAddFileOpenItemObsolete. Superseded by ISldWorks::AddFileOpenItem3.  
 MethodAddFileOpenItem2Obsolete. Superseded by ISldWorks::AddFileOpenItem3.  
 MethodAddFileOpenItem3Adds file types to the SolidWorks File Open dialog box.  
 MethodAddFileSaveAsItemObsolete. Superseded by ISldWorks::AddFileSaveAsItem2.  
 MethodAddFileSaveAsItem2Adds a file type to the SolidWorks Save As dialog box.  
 MethodAddItemToThirdPartyPopupMenuAdds menu items to a pop-up (shortcut) menu in a C++ SolidWorks add-in.  
 MethodAddItemToThirdPartyPopupMenu2Adds menu items to a pop-up (shortcut) menu in a SolidWorks add-in.  
 MethodAddMenuAdds a menu or sub-menu item to the SolidWorks interface for DLL applications.  
 MethodAddMenuItemObsolete. Superseded by ISldWorks::AddMenuItem3.  
 MethodAddMenuItem2Obsolete. Superseded by ISldWorks::AddMenuItem3.  
 MethodAddMenuItem3Obsolete. Superseded by ISldWorks::AddMenuItem4.  
 MethodAddMenuItem4Adds a menu item and bitmap to the SolidWorks interface.  
 MethodAddMenuPopupItemObsolete. Superseded by ISldWorks::AddMenuPopupItem2.  
 MethodAddMenuPopupItem2Obsolete. Superseded by ISldWorks::AddMenuPopupItem3.  
 MethodAddMenuPopupItem3Obsolete. Superseded by ISldWorks::AddMenuPopupItem4.  
 MethodAddMenuPopupItem4Adds a menu item, or submenu and menu item, to shortcut menus of entities of the specified type in documents of the specified type.  
 MethodAddToolbarObsolete. Superseded by ISldWorks::AddToolbar4.  
 MethodAddToolbar2Obsolete. Superseded by ISldWorks::AddToolbar4.  
 MethodAddToolbar3Obsolete. Superseded by ISldWorks::AddToolbar4.  
 MethodAddToolbar4
Creates a Windows-style, dockable toolbar that contains a set of application-defined buttons.  
 MethodAddToolbarCommandObsolete. Superseded by ISldWorks::AddToolbarCommand2.  
 MethodAddToolbarCommand2Specifies the application functions to be called when a toolbar button is pressed or sets a separator.  
 MethodAllowFailedFeatureCreationSets whether to allow the creation of a feature that has rebuild errors.  
 MethodArrangeIconsArranges the icons in SolidWorks.  
 MethodArrangeWindowsArranges the open windows in SolidWorks.  
 MethodBlockSkinningBlocks skinning a window, which prevents a window from looking like a SolidWorks window.  
 MethodCallBackAllows an out-of-process executable or SolidWorks macro to call back a function in a SolidWorks add-in DLL.  
 MethodCheckpointConvertedDocumentSaves the specified open document if its version is older than the version of the SolidWorks product being used.  
 MethodCloseAllDocumentsCloses all open documents in the SolidWorks session.  
 MethodCloseAndReopenCloses and reopens the specified drawing document without unloading its references from memory.  
 MethodCloseDocCloses the specified document.  
 MethodCommandOpens the specified dialog or file.  
 MethodCopyDocumentCopies a document and optionally updates references to it.  
 MethodCreateNewWindowCreates a client window containing the active document.  
 MethodCreatePropertyManagerPageCreates a PropertyManager page.  
 MethodCreateTaskpaneViewObsolete. Superseded by ISldworks::CreateTaskpaneView2.  
 MethodCreateTaskpaneView2Creates an application-level Task Pane view.  
 MethodDateCodeObsolete. Superseded by ISldWorks::RevisionNumber.  
 MethodDefineAttributeCreates an attribute definition, which is the first step in generating attributes.  
 MethodDisplayStatusBarSets whether to display the status bar.  
 MethodDocumentVisibleAllows the application to control the display of a document in a window upon creation or retrieval.  
 MethodDragToolbarButtonCopies the specified toolbar button from the specified native SolidWorks toolbar or ICommandGroup toolbar to the specified native SolidWorks toolbar or ICommandGroup toolbar.  
 MethodDragToolbarButtonFromCommandIDCopies a button to a toolbar using a command ID.  
 MethodEnablePhotoWorksProgressiveRenderObsolete. Not superseded.  
 MethodEnableStereoDisplayObsoleted and not superseded. Functionality no longer supported.  
 MethodEnumDocumentsObsolete. Superseded by ISldWorks::EnumDocuments2.  
 MethodEnumDocuments2Gets a list of documents currently open in the application.  
 MethodExitAppShuts down SolidWorks.  
 MethodFrameGets the SolidWorks main frame.  
 MethodGetActiveConfigurationNameGets the name of the active configuration in the specified SolidWorks document.  
 MethodGetAddInObjectGets an object from an add-in DLL.  
 MethodGetApplySelectionFilterGets the current state of the selection filter.  
 MethodGetBuildNumbersObsolete. Superseded by ISldWorks::GetBuildNumbers2.  
 MethodGetBuildNumbers2Gets the build, major revision, and hot fix numbers of the SolidWorks application.  
 MethodGetButtonPositionGets the center coordinates of the specified SolidWorks toolbar button.  
 MethodGetColorTableGets a color table from the SolidWorks application.  
 MethodGetCommandIDGets the SolidWorks command ID for an instance of an add-in's control (e.g., an add-in's toolbar button).  
 MethodGetCommandManagerGets the CommandManager for the specified add-in.  
 MethodGetConfigurationCountGets the number of configurations in the SolidWorks document, whether the document is opened or closed.  
 MethodGetConfigurationNamesGets the names of the configuration in this SolidWorks document, whether the document is opened or closed.  
 MethodGetCurrentFileUserGets the name of the user who has the the specified document open.  
 MethodGetCurrentLanguageGets the current language used by SolidWorks.  
 MethodGetCurrentMacroPathFolderGets the name of the folder where the macro resides.  
 MethodGetCurrentMacroPathNameGets the path name for the macro currently running.  
 MethodGetCurrentWorkingDirectoryGets the current working directory being used by the SolidWorks application.  
 MethodGetDataFolderGets the data directory name currently used by SolidWorks.  
 MethodGetDocumentCountGets the number of open documents in the current SolidWorks session.  
 MethodGetDocumentDependenciesObsolete. Superseded by ISldWorks::GetDocumentDependencies2.  
 MethodGetDocumentDependencies2Gets all of the model dependencies for a document.  
 MethodGetDocumentDependenciesCountObsolete. Superseded by ISldWorks::IGetDocumentDependenciesCount2.  
 MethodGetDocumentsGets the open documents is this SolidWorks session.  
 MethodGetDocumentTemplateGets the name of document template that can be used in ISldWorks::NewDocument or ISldWorks::INewDocument2.  
 MethodGetDocumentVisibleGets the visibility of the document to open.  
 MethodGetEnvironmentGets the IEnvironment object.  
 MethodGetErrorMessagesGets the last 20 messages issued by SolidWorks in the current SolidWorks session.  
 MethodGetExecutablePathGets the path to the SolidWorks executable, sldworks.exe.  
 MethodGetExportFileDataGets the data interface for the specified file type to which to export one or more drawing sheets.  
 MethodGetFirstDocumentGets the document opened first in this SolidWorks session.  
 MethodGetImportFileDataGets the IGES or DXF/DWG import data for the specified file.  
 MethodGetLastSaveErrorGets the last save error issued by Microsoft in the current session.  
 MethodGetLastToolbarIDGets the ID of the last toolbar added to the CommandManager.  
 MethodGetLatestSupportedFileVersionGets the version number that this instance of SolidWorks reads and writes.  
 MethodGetLineStylesGets all of the line styles in the specified file.  
 MethodGetLocalizedMenuNameGets a localized menu name for the specified menu ID.  
 MethodGetMacroMethodsGets the names of the modules in the specified macro.  
 MethodGetMassPropertiesObsolete. Superseded by ISldWorks::GetMassProperties2 and ISldWorks::IGetMassProperties2.  
 MethodGetMassProperties2Gets the mass properties from the specified document for the specified configuration.  
 MethodGetMaterialDatabaseCountGets the number of material databases.  
 MethodGetMaterialDatabasesGets the names of the material databases.  
 MethodGetMaterialSchemaPathNameGets the path for the XML material schema file.  
 MethodGetMathUtilityGets the IMathUtility interface.  
 MethodGetMenuStringsGets the name of the parent menu of the specified menu command.  
 MethodGetModelerGets the IModeler interface.  
 MethodGetMouseDragModeGets whether the specified command-mouse mode is in effect.  
 MethodGetOpenDocSpecGets the specifications to use when opening a model document.  
 MethodGetOpenDocumentGets the open document with the specified name.  
 MethodGetOpenDocumentByNameGets the open document with the specified name.  
 MethodGetOpenedFileInfoGets the name of the last-requested file to open and the options in effect while the file is opening or when the file finished opening.  
 MethodGetOpenFileNamePrompts the user for the name of the file to open.  
 MethodGetPreviewBitmapGets the preview bitmap (.bmp) for the specified configuration, regardless if the SolidWorks document is open or closed.  
 MethodGetPreviewBitmapFileGets the specified preview bitmap of a document and saves it as a Windows bitmap file (.bmp) using the specified filename.  
 MethodGetProcessIDGets the process ID for the current SolidWorks session.  
 MethodGetRayTraceRendererGet a ray-trace rendering engine, such as PhotoView 360.  
 MethodGetRecentFilesGets a list of the most recently used files.  
 MethodGetRoutingSettingsGets routing settings.  
 MethodGetRunningCommandInfoGet a command's ID or PropertyManager page's command ID, title, and whether it is active in the user-interface.  
 MethodGetSearchFoldersGets the current folder search settings as shown in Tools , Options, System Options, External References.  
 MethodGetSelectionFilterGets the current selection filter settings for the specified item type.  
 MethodGetSelectionFiltersGets all active selection filters.  
 MethodGetTemplateSizesGets the sheet properties from a template document.  
 MethodGetToolbarDockObsolete. Superseded by ISldWorks::GetToolbarDock2.  
 MethodGetToolbarDock2Gets the docking state of the toolbar.  
 MethodGetToolbarStateObsolete. Superseded by ISldWorks::GetToolbarState2.  
 MethodGetToolbarState2Gets the state of the toolbar.  
 MethodGetToolbarVisibilityGets whether this toolbar is visible.  
 MethodGetUserPreferenceDoubleValueGets system default user preference values.  
 MethodGetUserPreferenceIntegerValueGets system default user preference values.  
 MethodGetUserPreferenceStringListValueGets the name of the DXF mapping file.  
 MethodGetUserPreferenceStringValueGets system default user preference values.  
 MethodGetUserPreferenceToggleGets document default user preference values.  
 MethodGetUserProgressBarGets the user progress bar.  
 MethodGetUserTypeLibReferenceCountGets the number of user-specified type library references.  
 MethodGetUserUnitGets the standalone user units.  
 MethodHideBubbleTooltipHides the bubble ToolTip displayed by ISldWorks::ShowBubbleTooltipAt2.  
 MethodHideToolbarObsolete. Superseded by ISldWorks::HideToolbar2.  
 MethodHideToolbar2Hides a toolbar created with ISldWorks::AddToolbar4.  
 MethodIActivateDocObsolete. Superseded by ISldWorks::ActivateDoc2 and ISldWorks::IActivateDoc3.  
 MethodIActivateDoc2Obsolete. Superseded by ISldWorks::ActivateDoc2 and ISldWorks::IActivateDoc3.  
 MethodIActivateDoc3Activates a document that has already been loaded. This file becomes the active document, and this method returns a pointer to that document object.  
 MethodICopyDocumentCopies a document and optionally updates references to it.  
 MethodICreatePropertyManagerPageCreates a PropertyManager page.  
 MethodIDefineAttributeCreates an attribute definition, which is the first step in generating attributes.  
 MethodIEnableStereoDisplayObsoleted and not superseded. Functionality no longer supported.  
 MethodIGetColorTableGets a color table from the SolidWorks application.  
 MethodIGetConfigurationNamesGets the names of the configuration in this SolidWorks document, whether the document is opened or closed.  
 MethodIGetDocumentDependenciesObsolete. Superseded by ISldWorks::IGetDocumentDependencies2.  
 MethodIGetDocumentDependencies2Gets all of the model dependencies for a document.  
 MethodIGetDocumentDependenciesCount2Gets the size of the array needed for a call to ISldWorks::IGetDocumetnDependencies2.  
 MethodIGetDocumentsGets the open documents is this SolidWorks session.  
 MethodIGetEnvironmentGets the IEnvironment object.  
 MethodIGetFirstDocumentObsolete. Superseded by ISldWorks::IGetFirstDocument2.  
 MethodIGetFirstDocument2Gets the document opened first in this SolidWorks session.  
 MethodIGetMassPropertiesObsolete. Superseded by ISldWorks::GetMassProperties2 and ISldWorks::IGetMassProperties2.  
 MethodIGetMassProperties2Gets the mass properties from the specified document for the specified configuration.  
 MethodIGetMaterialDatabasesGets the names of the material databases.  
 MethodIGetMathUtilityGets the IMathUtility interface.  
 MethodIGetModelerGets the IModeler interface.  
 MethodIGetOpenDocumentByNameObsolete. Superseded ISldWorks::IGetOpenDocumentByName2.  
 MethodIGetOpenDocumentByName2Gets the open document with the specified name.  
 MethodIGetRayTraceRendererGet a ray-trace rendering engine.  
 MethodIGetSelectionFiltersGets all active selection filters.  
 MethodIGetSelectionFiltersCountGets the number of active selection filters.  
 MethodIGetTemplateSizesGets the sheet properties from a template document.  
 MethodIGetUserTypeLibReferencesGets the specified user-specified type library references.  
 MethodIGetUserUnitGets the standalone user units.  
 MethodIGetVersionHistoryCountGets the size of the array required to hold data returned by ISldWorks::IVersionHistory.  
 MethodIMoveDocumentMoves a document and optionally updates references to it.  
 MethodINewAssemblyObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodINewDocumentObsolete. Superseded by ISldWorks::INewDocument2.   
 MethodINewDocument2Creates a new document based on the specified template.  
 MethodINewDrawingObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodINewDrawing2Obsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodINewPartObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodInstallQuickTipGuideImplements your add-in's copy of the Quick Tips.  
 MethodIOpenDocObsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIOpenDoc2Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIOpenDoc3Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIOpenDoc4Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIOpenDoc5Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIOpenDocSilentObsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodIRemoveUserTypeLibReferencesRemoves the user-specified type library references.  
 MethodIsBackgroundProcessingCompletedGets whether SolidWorks has finished opening a drawing document, which requires a lot of CPU time and no user input, in a background process.  
 MethodIsCommandEnabledGets whether the specified command is enabled.  
 MethodISetSelectionFiltersSets the status for multiple selection filters.  
 MethodISetUserTypeLibReferencesSets the user-specified type library references.  
 MethodIsRapidDraftGets whether the specified drawing file is in SolidWorks detached-drawing format.  
 MethodIsSameGets whether the two specified objects are the same object.  
 MethodIVersionHistoryGets a list of strings indicating the versions in which a model was saved.  
 MethodLoadAddInLoads the specified add-in in SolidWorks.  
 MethodLoadFileObsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile2Obsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile3Obsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile4Loads a non-native SolidWorks file (for example, *.igs, *.dxf, and so on) into a new model document.  
 MethodMoveDocumentMoves a document and optionally updates references to it.  
 MethodNewAssemblyObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodNewDocumentCreates a new document based on the specified template.  
 MethodNewDrawingObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodNewDrawing2Obsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodNewPartObsolete. Superseded by ISldWorks::NewDocument and ISldWorks::INewDocument2.  
 MethodOpenDocObsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodOpenDoc2Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodOpenDoc3Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodOpenDoc4Obsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodOpenDoc6Opens an existing document and returns a pointer to the document object.  
 MethodOpenDoc7Opens an existing document and returns a pointer to the document object.  
 MethodOpenDocSilentObsolete. Superseded by ISldWorks::OpenDoc6.  
 MethodPostMessageToApplicationPosts a message to the application that invoked this method.  
 MethodPostMessageToApplicationx64Posts a message to the application that invoked this method in 64-bit applications.  
 MethodPreSelectDwgTemplateSizeEstablishes which template to use when creating a drawing.  
 MethodPresetNewDrawingParametersPresets the drawing template and sheet size parameters to avoid showing the Sheet Format/Size dialog when creating a new drawing document in the user-interface.  
 MethodPreviewDocDisplays a preview of a document to the specified window.  
 MethodPreviewDocx64Displays a preview of a document to the specified window in 64-bit applications.  
 MethodQuitDocCloses the specified document without saving changes.  
 MethodRecordLineAdds a line of code to a VBA macro and the SolidWorks journal file.  
 MethodRecordLineCSharpAdds a line of code to a C# macro and the SolidWorks journal file.  
 MethodRecordLineVBnetAdds a line of code to a VB.NET macro and the SolidWorks journal file.  
 MethodRefreshQuickTipWindowTells the SolidWorks application that your add-in's state has changed and triggers a query for the current URL page.  
 MethodRefreshTaskpaneContentRefreshes the view of the Design Library tab in the Task Pane.  
 MethodRegisterThirdPartyPopupMenuRegisters a third-party pop-up (shortcut) menu.  
 MethodRegisterTrackingDefinitionRegisters a tracking definition.  
 MethodRemoveCallbackUnregisters a general purpose callback handler.  
 MethodRemoveFileOpenItemObsolete. Superseded by ISldWorks::RemoveFileOpenItem2.  
 MethodRemoveFileOpenItem2Removes a file type from the SolidWorks File Open dialog box added using ISldWorks::AddFileOpenItem3.  
 MethodRemoveFileSaveAsItemObsolete. Superseded by ISldWorks::RemoveFileSaveAsItem2.  
 MethodRemoveFileSaveAsItem2Removes a file type from the Save As list added using ISldWorks::AddFileSaveAsItem2.  
 MethodRemoveFromMenuRemoves:
  • the specified command from all main frame menus or a toolbar or both

  • the specified command's parent menus

 
 MethodRemoveFromPopupMenuRemoves the specified menu item from one or all specified context-sensitive menus (also called shortcut menus and pop-up menus) for the specified document types.  
 MethodRemoveItemFromThirdPartyPopupMenuRemoves a menu item and icon from a third-party pop-up (shortcut) menu.  
 MethodRemoveMenuRemoves a pull-down menu item or an pull-down menu from the specified document frame.  
 MethodRemoveMenuPopupItemObsolete. Superseded by ISldWorks::RemoveMenuPopupItem2.  
 MethodRemoveMenuPopupItem2Removes an item on a pop-up (shortcut) menu.  
 MethodRemoveToolbarObsolete. Superseded by ISldWorks::RemoveToobar2.  
 MethodRemoveToolbar2Removes a toolbar created with ISldWorks::AddToolbar4.  
 MethodRemoveUserMenuObsolete. Superseded by ISldWorks::RemoveMenu.  
 MethodRemoveUserTypeLibReferencesRemoves the user-specified type library references.  
 MethodReplaceReferencedDocumentReplaces a referenced document.  
 MethodResetPresetDrawingParametersResets SolidWorks back to its default behavior after calling ISldWorks::PresetNewDrawingParameters (i.e., display Sheet Format/Size dialog when opening a new drawing document).  
 MethodResetUntitledCountResets the index of untitled documents.  
 MethodResumeSkinningResumes skinning windows.  
 MethodRevisionNumberGets the version number of the SolidWorks executable.  
 MethodRunAttachedMacroRuns the specified attached macro, module, and procedure.  
 MethodRunCommandRuns the specified SolidWorks command.  
 MethodRunJournalCmd  
 MethodRunMacroObsolete. Superseded by ISldWorks::RunMacro2.  
 MethodRunMacro2Runs a macro from a project file.  
 MethodSendMsgToUserObsolete. Superseded by ISldWorks::SendMsgToUser2.  
 MethodSendMsgToUser2Displays a message box containing a message to the user, who is required to interact with it before continuing.  
 MethodSetAddinCallbackInfoSets add-in callback commands.  
 MethodSetApplySelectionFilterSets the current state of the selection filter.  
 MethodSetCurrentWorkingDirectorySets the current working directory to be used by SolidWorks.  
 MethodSetMissingReferencePathNameSets the missing reference file name. Use with the SolidWorks event ReferenceNotFoundNotify.  
 MethodSetMouseDragModeSets the command-mouse mode.  
 MethodSetMultipleFilenamesPromptSets the new filenames to open in response to the ISldWorks PromptForMultipleFileNamesNotify event.  
 MethodSetNewFilenameSets the name of the new SolidWorks file.  
 MethodSetPromptFilenameObsolete. Superseded by ISldWorks::SetPromptFilename2.  
 MethodSetPromptFilename2Sets the file to open in response to a SolidWorks event.  
 MethodSetSearchFoldersSets the folder search settings as shown in Tools, Options, System Options, External References.  
 MethodSetSelectionFilterSets the current selection filter values for the specified item type.  
 MethodSetSelectionFiltersSets the status for multiple selection filters.  
 MethodSetThirdPartyPopupMenuStateSets whether to show or hide a third-party popup (shortcut) menu.  
 MethodSetToolbarDockObsolete. Superseded by ISldWorks::SetToolbarDock2.  
 MethodSetToolbarDock2Sets the docking state of the toolbar.  
 MethodSetToolbarVisibilitySets whether the specified toolbar is visible.  
 MethodSetUserPreferenceDoubleValueSets system default user preference values.  
 MethodSetUserPreferenceIntegerValueSets system default user preference values.  
 MethodSetUserPreferenceStringListValueSets the name of the DXF mapping files.  
 MethodSetUserPreferenceStringValueSets system default user preference values.  
 MethodSetUserPreferenceToggleSets system default user preference values.  
 MethodShowBubbleTooltipDisplays a bubble ToolTip and flashes the specified toolbar button.  
 MethodShowBubbleTooltipAtObsolete. Superseded by ISldWorks::ShowBubbleTooltipAt2.  
 MethodShowBubbleTooltipAt2Displays a bubble ToolTip at the specified location.  
 MethodShowHelpDisplays the specified Help topic.  
 MethodShowThirdPartyPopupMenuSets where to show a third-party pop-up (shortcut) menu.  
 MethodShowToolbarObsolete. Superseded by ISldWorks::ShowToolbar2.  
 MethodShowToolbar2Obsolete. Not superseded.  
 MethodSolidWorksExplorerStarts SolidWorks Explorer.  
 MethodUnInstallQuickTipGuideUninstalls your add-in's Quick Tips  
 MethodUnloadAddInUnloads the specified add-in from SolidWorks.  
 MethodVersionHistoryGets a list of strings indicating the versions in which a model was saved.  
Top

See Also



Related SolidWorks Forum Content

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:   ISldWorks Interface Members
*Comment:  
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) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.