2014-08-05 19:09:30|?次阅读|上传:huigezrx【已有?条评论】发表评论
关键词:CAA, CATIA|来源:唯设编程网
2) 在文件MyTestWkb.CATRsc中定义了工作台(Workbench)使用的非本地化资源,比如图标(Icons)、父类(Category),如下所示:
// Category of the workshop MyTestWkb.Category="Infrastructure"; // END WIZARD EDITION ZONE |
Category可以为:Infrasturcture,MechanicalDesign,Shape,……。分别对应于已有的Workshop。如果将其改为MechanicalDesign,则可以将其归类到机械设计。
3) 在文件HelloWorld.dico中,定义了此Workbench的链接库。
# COPYRIGHT Dassault Systemes 2013 #====================================================================== # Dictionary HelloWorld.dico # associated with framework HelloWorld #====================================================================== # # Apr 2013 Creation: Code generated by the CAA wizard Administrator #====================================================================== # DO NOT EDIT :: THE CAA2 WIZARDS WILL ADD CODE HERE #====================================================================== # Dictionary MyTestWkb.dico # These are necessary dictionary declarations for a workshop #====================================================================== CATApplicationFrame CATIMyTestWkbWorkbenchFactory libMyTestWkb MyTestWkb CATIPRDWorkshopConfiguration libMyTestWkb |