<!-- author : raywei date : 2012-8-16 介绍 (注:以下每个属性都是必须配置): 1、tpye : 设置属性对应TC系统中的类型 只匹配Item、ItemRevision、Form,配置其他类型无效,并可能出现程序中断 2、cad : 在CAD标题栏中属性名称 此项是配置CAD图纸中属性的名称 3、tc : 与CAD属性对应的在TC系统中的属性名称 此项是配置与CAD图纸属性名称相对应的TC系统里的属性名 4、writeable : 表示此属性在TC系统中是否能够手动更新,例item_id不能够修改,则writeable=“0” 5、updateable: 表示是否需要更新系统中的信息,前提是writeable必须为1 --> <!-- 补充说明: 1、配置中一定要有配置tc="item_id",用于与TC系统交互的唯一标识,例:<_1 type="Item" cad="图号" tc="item_id" writeable="0"/> 如果此项没有配置,则系统中断 2、如果没有配置item_revision_id,则系统处理的是最新的版本,如果配置,则匹配到对应的版本 --> <!--设置Item相关属性--> <_1 type="Item" cad="图号" tc="item_id" writeable="0" updateable="0" fromtc="0"/> <_2 type="Item" cad="零/部件名称" tc="object_name" writeable="1" updateable="0" fromtc="1"/> <!--设置ItemRevision相关属性--> <_3 type="ItemRevision" cad="版本" tc="item_revision_id" writeable="1" updateable="0" fromtc="0"/> <!--设置Form相关属性--> <_4 type="Form" cad="材料" tc="d5MaterialGrade" writeable="1" updateable="1" fromtc="1"/> <_5 type="Form" cad="代号" tc="d5PartNumber" writeable="1" updateable="1" fromtc="1"/> <_6 type="Form" cad="比例" tc="d5Proportion" writeable="1" updateable="1" fromtc="1"/> <_7 type="Form" cad="图幅" tc="d5Mapsheet" writeable="1" updateable="1" fromtc="1"/> <_8 type="Form" cad="重量" tc="d5SingleWeight" writeable="1" updateable="1" fromtc="1"/>