Click or drag to resize

SingletonGetApplication Method

Creates an instance of the latest version of SOLIDWORKS synchronously.

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static SldWorks GetApplication(
	int version = -1,
	bool visible = false
)

Parameters

version (Optional)
Type: SystemInt32
SOLIDWORKS revision number.
visible (Optional)
Type: SystemBoolean
True to start SOLIDWORKS visible.

Return Value

Type: SldWorks
MethodReturn of SldWorks, the SOLIDWORKS application API object.
See Also