湖北汽车工业学院学报JournalofHubeiUniversityofAutomotiveTechnology第37卷第1期2023年3月Vol.37No.1Mar.2023doi:10.3969/j.issn.1008-5483.2023.01.011基于CATIA/CAA的图框、标题栏和明细表生成工具开发莫杰,张胜兰,王英明,李莹(湖北汽车工业学院汽车工程学院,湖北十堰442002)摘要:在快速应用开发环境下,基于模板模块化的思想,利用组件应用架构(CAA)和VisualStudio开发了工程图图框、标题栏、明细表和更改标记的快速生成工具。利用提取的图纸文档属性信息实现了图框的匹配创建,通过获取三维模型的类型和产品属性实现了标题栏的智能创建和自动填写,通过获取用户在对话框中输入的信息实现了更改标记的交互式创建和自动拓展,通过遍历装配件的所有子级获取属性实现了明细表的自动生成。工程实例测试结果表明:文中开发的工具能快速生成符合国家或企业标准的图纸。关键词:CATIA;工程图;CAA;二次开发;自动化中图分类号:TP311.52文献标识码:A文章编号:1008-5483(2023)01-0056-05DevelopmentofCustomizationforDrawingFrame,TitleBarandPartsListsBasedonCATIA/CAAMoJie,ZhangShenglan,WangYingming,LiYing(SchoolofAutomotiveEngineering,HubeiUniversityofAutomotiveTechnology,Shiyan442002,China)Abstract:Undertherapidapplicationdevelopmentenvironment,basedontheideaoftemplatemodu⁃larization,therapidcustomizationfordrawingframe,titlebarandpartslistswasdevelopedbyusingcomponentapplicationarchitecture(CAA)andVisualStudio.Byusingtheextracteddrawingdocumentattributeinformation,thematchingcreationofthedrawingframewasrealized.Theintelligentcreationandautomaticfillingofthetitlebarwererealizedbyobtainingthetypeandproductattributesofthethree-dimensionalmodel.Andtheinteractivecreationandautomaticexpansionofthechangemarkwererealizedbyobtainingtheinformationenteredbytheuserinthedialogbox.Theautomaticgenera⁃tionofpartslistswasrealizedbytraversingallthesub-levelsoftheassembly.Throughtheengineeringexampletest,theresultsshowthatcustomizationcaneffectivelysavethedrawingtime,simplifythedrawingprocessandquicklygeneratethedrawingformatthatmeetsthenationalorenterprisestandards.Keywords:CATIA;engineeringdrawing;CAA;secondarydevelopment;automation收...