1.新建项目

以控制台程序为例,框架选择.NETframework4.7(catia v5 R20)。

2.添加COM引用

搜索“CATIA”

选择

(1)CATIA V5 CATGSMIDLltf Object Library

(2)CATIA V5 Inflnterfaces Object Library

(3)CATIA V5 Knowledgelnterfaces Object Librany

(4)CATIA V5 MecModInterfaces Object Librany

(5)CATIA V5 PartInterfaces Object Library

(6)CATlA V5 ProductStructurelnterfaces Object Library