I am trying to use enumeration with respect to tolerance types. My Macro looks about like this:
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
using System.Runtime.InteropServices;
using System;
using System.Diagnostics;
namespace Rename_And_Export_Dimensions.csproj
{
public partial class SolidWorksMacro
{
public SldWorks swApp;
public void Main()
{
swTolType_e Tol = swTolType_e.swTolSYMMETRIC;
}
}
}
Why does this fail?
SolidworksApi macros