Click or drag to resize

ApplicationConvertSWRevisionNumberToYear Method (Int32)

Converts the SOLIDWORKS revision number to a release year.

Namespace:  CADSharpTools.SOLIDWORKS
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static int ConvertSWRevisionNumberToYear(
	int revNumber
)

Parameters

revNumber
Type: SystemInt32
Revision number.

Return Value

Type: Int32
Release year
Remarks
  • This method produces correct results for revision number from the year 2003 and newer.
  • Method return -1 if it fails.
See Also