摘要
提出一种新的 SolidWorks 二次开发方法:以 VC++为编程语言,利用组件对象模型(COM)调用进程外组件的方法来启动 SolidWorks 和获得 ISolidWorks 接口对象,通过 IUnknown 接口对象和 ISolidWorks 对象进行二次开发.以门式起重机的马鞍立柱为例,介绍了参数化生成零件、装配体的具体过程.本方法可以根据参数的改变动态地生成零件和装配体,从而实现产品的系列化设计,使系统的开发周期缩短.
A new re-exploiture method in SolidWorks is advanced.That is using VC + + as programming lan- guage,startup SolidWorks and obtaining the ISolidWorks interface object by means of component object model (COM)calling out processing component.Re-exploiture is carried out by IUnknown interface and ISolid- Works object.Taking the saddle mast of the gantry crane as an example,the idiographic process that created a parameterized part and assembly is introduced.The part and assembly can be created dynamically by changing parameters based on this method.The seriation design can be realized accordingly,and period of system's ex- ploitation is shortened.
出处
《中国工程机械学报》
2004年第3期263-269,共7页
Chinese Journal of Construction Machinery
关键词
CAD
参数化
三维
建模
CAD
parameterization
three-dimensional
modeling