起因
環境
目的
步驟
using System;
using System
using System
using System
using System
using System
using System
using SldWorks; //COM Reference: SldWorks
using SwConst; //COM Reference: SolidWorks
namespace swTest
{
public partial class frmTest : Form
{
public frmTest()
{
InitializeComponent();
}
private void btnTest_Click_
{
int IErrors =
int IWarnings =
SldWorks
swApp
swApp
}
}
}
From:http://tw.wingwit.com/Article/program/net/201311/11324.html