Hide Table of Contents
ISldWorks Interface Methods

For a list of all members of this type, see ISldWorks members.

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 File > Open dialog box.  
 MethodAddFileSaveAsItemObsolete. Superseded by ISldWorks::AddFileSaveAsItem2.  
 MethodAddFileSaveAsItem2Adds a file type to the SOLIDWORKS File > 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 item to a SOLIDWORKS menu for DLL applications.  
 MethodAddMenuItemObsolete. Superseded by ISldWorks::AddMenuItem3.  
 MethodAddMenuItem2Obsolete. Superseded by ISldWorks::AddMenuItem3.  
 MethodAddMenuItem3Obsolete. Superseded by ISldWorks::AddMenuItem4.  
 MethodAddMenuItem4Obsolete. Superseded by ISldWorks::AddMenuItem5.  
 MethodAddMenuItem5Adds a menu item and image to the SOLIDWORKS user interface.  
 MethodAddMenuPopupItemObsolete. Superseded by ISldWorks::AddMenuPopupItem2.  
 MethodAddMenuPopupItem2Obsolete. Superseded by ISldWorks::AddMenuPopupItem3 and ISldWorks::AddMenuPopupItem4.  
 MethodAddMenuPopupItem3Adds a menu item and zero or more submenus to shortcut menus of entities of the specified type in documents of the specified type.  
 MethodAddMenuPopupItem4Adds a menu item and zero or more submenus to shortcut menus of features 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.  
 MethodAddToolbar4Obsolete. Superseded by ISldWorks::AddToolbar5.  
 MethodAddToolbar5Creates a Windows-style dockable toolbar.  
 MethodAddToolbarCommandObsolete. Superseded by ISldWorks::AddToolbarCommand2.  
 MethodAddToolbarCommand2Specifies the application functions to call when a toolbar button is clicked 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 a 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.  
 MethodCloseAndReopen2Closes and reopens the specified drawing document without unloading its references from memory.  
 MethodCloseDocCloses the specified document.  
 MethodCloseUserNotificationCloses the specified user notification.  
 MethodCommandOpens the specified dialog or file.  
 MethodCopyAppearanceCopies the appearance of the specified entity to the clipboard.  
 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.  
 MethodCreateTaskpaneView2Obsolete. Superseded by ISldworks::CreateTaskpaneView3.  
 MethodCreateTaskpaneView3Creates an application-level Task Pane view.  
 MethodDateCodeObsolete. Superseded by ISldWorks::RevisionNumber.  
 MethodDefineAttributeCreates an attribute definition, which is the first step in generating attributes.  
 MethodDefineMessageBarCalled by a SOLIDWORKS add-in, creates a message bar definition object.  
 MethodDefineUserNotificationCalled by a SOLIDWORKS add-in, creates a user notification definition object.  
 MethodDisplayStatusBarSets whether to display the status bar.  
 MethodDocumentVisibleAllows the application to control the display of a document in a window upon creation or retrieval.  
 MethodDownloadFromMySolidWorksSettingsDownloads the specified SOLIDWORKS Connected settings to SOLIDWORKS Desktop.  
 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.  
 MethodEnableStereoDisplayObsolete and not superseded. Functionality no longer implemented.  
 MethodEnumDocumentsObsolete. Superseded by ISldWorks::EnumDocuments2.  
 MethodEnumDocuments2Gets a list of documents currently open in the application.  
 MethodExitAppShuts down SOLIDWORKS.  
 MethodExportHoleWizardItemExports data for the specified Hole Wizard standard.  
 MethodExportToolboxItemExports data for the specified Toolbox standard.  
 MethodFrameGets the SOLIDWORKS main frame.  
 MethodGet3DExperienceStateGets the current state of SOLIDWORKS Connected.  
 MethodGetActiveConfigurationNameGets the name of the active configuration in the specified SOLIDWORKS document.  
 MethodGetAddInObjectGets an add-in object for the specified SOLIDWORKS add-in.  
 MethodGetApplySelectionFilterGets the current state of the selection filter.  
 MethodGetBatchUploadedFilesInfoGets the files uploaded to 3DEXPERIENCE during a batch process.  
 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.  
 MethodGetCollisionDetectionManagerGets the collision detection manager.  
 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.  
 MethodGetCurrentLicenseTypeGets the type of license for the current SOLIDWORKS session.  
 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 in 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.  
 MethodGetFilePLMIDGets the Product Lifecycle Management (PLM) ID of the specified file stored in 3DEXPERIENCE.  
 MethodGetFirstDocumentGets the document opened first in this SOLIDWORKS session.  
 MethodGetHoleStandardsDataGets the hole standards for the specified hole type.  
 MethodGetImageSize

Gets:

  • small, medium, and large image sizes suitable for the current DPI setting of the display device.
  • default image size for the current DPI setting of the display device for images that are not based on the SOLIDWORKS icon size setting.
 
 MethodGetImportFileDataGets the IGES or DXF/DWG import data for the specified file.  
 MethodGetInterfaceBrightnessThemeColorsGets the theme and colors of the SOLIDWORKS background.  
 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 IMathUtility.  
 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 model successfully opened by SOLIDWORKS and the options that were in effect when it opened.  
 MethodGetOpenFileNameObsolete. Superseded by ISldWorks::GetOpenFileName2.  
 MethodGetOpenFileName2Prompts 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.  
 MethodGetSafeArrayUtilityGets the ISafeArrayUtility object.  
 MethodGetSaveTo3DExperienceOptionsInitializes save options for a SOLIDWORKS Connected document.  
 MethodGetSearchFoldersGets the current folder search path as shown in Tools > Options > System Options > File Locations > Show folders for > Referenced Documents.  
 MethodGetSelectionFilterGets the current selection filter settings for the specified item type.  
 MethodGetSelectionFiltersGets all active selection filters.  
 MethodGetSSOFormattedURLFormats the specified URL for single sign-on.  
 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 a progress indicator.  
 MethodGetUserTypeLibReferenceCountGets the number of user-specified type library references.  
 MethodGetUserUnitGets an empty IUserUnit object of the specified type.  
 MethodHideBubbleTooltipHides the bubble ToolTip displayed by ISldWorks::ShowBubbleTooltipAt2.  
 MethodHideToolbarObsolete. Superseded by ISldWorks::HideToolbar2.  
 MethodHideToolbar2Hides a toolbar created with ISldWorks::AddToolbar5.  
 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.  
 MethodIEnableStereoDisplayObsolete and not superseded. Functionality no longer implemented.  
 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 an empty IUserUnit object of the specified type.  
 MethodIGetVersionHistoryCountGets the size of the array required to hold data returned by ISldWorks::IVersionHistory.  
 MethodIMoveDocumentMoves a document and optionally updates references to it.  
 MethodImportHoleWizardItemImports data for the specified Hole Wizard standard.  
 MethodImportToolboxItemImports data for the specified Toolbox standard.  
 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 background processing a drawing document that requires a lot of CPU time to open.  
 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 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.  
 MethodLoadAdminSettingsFileLoads the specified *.sldsettings file into SOLIDWORKS Connected.  
 MethodLoadFileObsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile2Obsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile3Obsolete. Superseded by ISldWorks::LoadFile4.  
 MethodLoadFile4Loads a third-party native CAD file into a new SOLIDWORKS document using 3D Interconnect.  
 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.  
 MethodPasteAppearanceApplies to the specified entity an appearance that has been copied to the clipboard.   
 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 File > Open dialog box that was added using ISldWorks::AddFileOpenItem3.  
 MethodRemoveFileSaveAsItemObsolete. Superseded by ISldWorks::RemoveFileSaveAsItem2.  
 MethodRemoveFileSaveAsItem2Removes a file type from the File > Save As dialog box that was added using ISldWorks::AddFileSaveAsItem2.  
 MethodRemoveFromMenu

Removes: 

  • 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 menu item 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::AddToolbar5.  
 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.  
 MethodRestoreSettingsRestores the specified SOLIDWORKS settings from the specified *.sldreg file.  
 MethodResumeSkinningResumes skinning windows.  
 MethodRevisionNumberGets the version number of this SOLIDWORKS installation.  
 MethodRunAttachedMacroRuns the specified attached macro, module, and procedure.  
 MethodRunBatchSaveProcessBatch saves files to 3DEXPERIENCE.  
 MethodRunCommandRuns the specified SOLIDWORKS command.  
 MethodRunJournalCmdDo not use.  
 MethodRunMacroObsolete. Superseded by ISldWorks::RunMacro2.  
 MethodRunMacro2Runs a macro from a project file.  
 MethodSaveSettingsSaves the specified SOLIDWORKS settings to the specified *.sldreg 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.  
 MethodSetAddinCallbackInfoObsolete. Superseded by ISldWorks::SetAddinCallbackInfo2.  
 MethodSetAddinCallbackInfo2Sets 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 current folder search path as shown in Tools > Options > System Options > File Locations > Show folders for  > Referenced Documents.  
 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.  
 MethodShowBatchSaveTo3DExperienceDlgOpens a dialog to save files in the specified folder to 3DEXPERIENCE.  
 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.  
 MethodShowUserNotificationShows the specified user notification for a SOLIDWORKS add-in.  
 MethodSolidWorksExplorerStarts SOLIDWORKS Explorer.  
 MethodUnInstallQuickTipGuideUninstalls your add-in's Quick Tips  
 MethodUnloadAddInUnloads the specified add-in from SOLIDWORKS.  
 MethodUploadToMySolidWorksSettingsUploads the specified SOLIDWORKS Desktop settings to SOLIDWORKS Connected.  
 MethodVersionHistoryGets a list of strings indicating the versions in which a model was saved.  
Top

See Also



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ISldWorks Interface Methods
*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.