Have ever you used the SldWorks.exe arguments?

Amen Jlili

Sldworks.exe is the executable file that launches SOLIDWORKS 3D. This process can be launched with arguments that trigger certain modes or behaviors in SOLIDWORKS. Most arguments that are not well documented can be found in this thread on cadoverflow.

The arguments are case-sensitive. Make sure to respect the letter casing when you use them.

How to launch sldworks with arguments?

Simply follow these instructions:

  • Open cmd
  • Type the command CD followed by the path to the SOLIDWORKS installation folder enclosed in double-quotes.
  • Type the following command to launch SOLIDWORKS with the desired argument. I’m using the /r argument:
sldworks.exe /r


This argument will suppress certain dialogs (dialogs of the MsgBox style) in SOLIDWORKS. From my experience, it suppresses dialogs created by SldWorks.SendToMsgToUser2 and SldWorks.SendToMsgUser. An example of the dialog that is affected by this argument is the journal warning when you launch multiple instances.

SOLIDWORKS journal dialog


This argument is used to launch a macro (swp). Using it would launch the SOLIDWORKS application without the splash screen.


The argument launches SOLIDWORKS in batch mode. It launches SOLIDWORKS in a small window. This might be an issue for API calls that require UI such as ZoomToFit2.

SOLIDWORKS launched in batch mode


The argument launches SOLIDWORKS in developer mode and enables the menu below.


This argument opens SOLIDWORKS in read-only mode. This can be useful when users are not meant to edit or create new models. The close window button (x) is not functional.

SOLIDWORKS launched in lite mode.


This argument launches the sldworks.exe process without the year in the DS SOLIDWORKS logo (generic logo).

Sldworks.exe launched with a generic DS SOLIDWORKS logo


This argument launches the sldworks.exe process and disables the crash window.

Update: 2022/07/12

I have reached out to API support to get more information on the sldworks arguments and it turns out that they are not documented or supported by the API team.

More great articles

A Quickstart Guide with the SOLIDWORKS PDM Web API

Headups: This post is not about the PDM Web2 viewer. This feature is not available with SOLIDWORKS PDM Standard. This…

Read Story

Auto-update SOLIDWORKS PDM add-ins

The auto-updater add-in is a tool developed by Blue Byte Systems, Inc. to streamline our code delivery process for our…

Read Story

Top 5 reasons to start using PDM2Excel to start exporting PDM BOMs to Excel.

You use SOLIDWORKS PDM Professional to manage your product's cad data. You and your team have a solid vault implementation…

Read Story