Click or drag to resize

Application Class

A Disposable wrapper over the SOLIDWORKS application.
Inheritance Hierarchy
SystemObject
  CADSharpTools.SOLIDWORKSApplication

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public class Application : IDisposable

The Application type exposes the following members.

Constructors
  NameDescription
Public methodApplication
Creates a new instance of the Application class.
Top
Properties
  NameDescription
Public propertySOLIDWORKS
Pointer to the SOLIDWORKS application.
Top
Methods
  NameDescription
Public methodStatic memberConvertSWRevisionNumberToYear(Int32)
Converts the SOLIDWORKS revision number to a release year.
Public methodStatic memberConvertSWRevisionNumberToYear(String)
Converts the SOLIDWORKS revision number to a release year.
Public methodStatic memberConvertYearToSWRevisionNumber
Converts a release year to the SOLIDWORKS revision number.
Public methodStatic memberCreateApplication
Creates a new instance of the latest installed SOLIDWORKS application using Start.
Public methodStatic memberCreateSldWorks
Creates a new instance of the SOLIDWORKS application using Start.
Public methodDispose
Dispose of the SOLIDWORKS application.
Public methodExit
Closes all open documents in SOLIDWORKS and exits application.
Public methodStatic memberGetSOLIDWORKSInstallationDirectory
Returns the SOLIDWORKS installation directory for the specified year (if it exists).
Public methodStatic memberReleaseYears
Returns an array of all installed SOLIDWORKS release years.
Top
See Also