Click or drag to resize

SldWorksCommonExGetVersion Method (ISldWorks)

Returns the major version of SOLIDWORKS application

Namespace:  SolidWorks.Interop.sldworks
Assembly:  CodeStack.SwEx.Common (in CodeStack.SwEx.Common.dll) Version: 0.9.9.0 (0.9.9.0)
Syntax
public static SwVersion_e GetVersion(
	this ISldWorks app
)

Parameters

app
Type: ISldWorks
Pointer to application to return version from

Return Value

Type: SwVersion_e
Major version of the application

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISldWorks. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also