this is my C# code for getting tolerance type
Dimension swDim = default(Dimension);
swDim = (Dimension)getDisplayDimension.GetDimension();
var tolType = swDim.GetToleranceType();
I get 0 and 7 value in tolType variable
So what is the type of tolerance for both values.Also need to know all codes for other tolerance types.
GetToleranceType has been obsolete since SOLIDWORKS 2006. You should be using the Type Property instead. The return values are specified in the swTolType_e enumeration.
Retrieving data ...