分享

Workgroup Manager for AutoCAD系统配置

 昵称9340 2006-07-25

安装完Workgroup Manager for AutoCAD后,还需要配置3个文件。

1)wtcad.ini

2)wtacad.dmc

3)wtacad.map

1.      /Windchill/codebase/wmautocad/wtcad.iniffice‘‘ffice" />

WGM for AutoCAD配置文件,需要更改以下配置:

 

[DMS Integration]

...

DocumentLifecycle=CADDocLC

PartLifecycle=PartLCWithoutWf

link.drawings.to.parts=true

MultiplePartsOnDrawing=true

 

其它内容均可以按缺省设置;

2.      /Windchill/codebase/wmautocad/wtacad.dmc

需要映射的属性文件,更改后的文件内容如下:

 

Windchill Workgroup Manager DMC, Revision 2.00

Generic

0

     1 SP:PART_NR                       U O T    200

     2 SP:PART_NAME                     U O T    200

     3 SP:DOC_NR                        U O T    200

     4 SP:DOC_NAME                      U O T    200

     5 GreeDrawingNo                    U O T    200

     6 GreeMaterial                     U O T    200

     7 GreeMaterialSpec                 U O T    200

 

您可以手工更改,但必须特别小心,一旦有特殊字符输入,可能会导致失败。

强烈推荐您使用Windchill提供的工具更改,请打开Windchill外壳程序,切换到Windchill\codebase\wmautocad目录,执行以下语句:

     windchill com.icubed.legend.dmc.ui.DMCCreate

然后输入系统管理员的用户名和密码;

    

然后您可以在以下界面中直接添加需要映射的属性;

    

添加完成后保存退出。

3.      /Windchill/codebase/wmautocad/wtacad.map

属性的映射关系,更改后的文件内容如下:

 

; wtacad.map

SP:PART_NR=CODE

SP:DOC_NR=CODE

SP:PART_NAME=PART_NAME

SP:DOC_NAME=PART_NAME

GreeDrawingNo=DRAWING_NUMBER

GreeMaterial=MATERIAL

GreeMaterialSpec=MATERIALSPEC

 

      这个文件只能手工输入;

      第一行为注释行;以后各行为内容;

      等号左边为Windchill中的属性,右边为AutoCAD中定义的属性;

      其中,“SP:”开头的表示Windchill的模型属性,其它的则为软属性;

      SP:PART_NR 为部件编号,SP:PART_NAME为部件名称;

      SP:DOC_NR CAD文档编号,SP:DOC_NAMECAD文档名称;

 

特别提醒:每次更改配置后,需要重新生成wmautocad_config.jar文件。

Windchill外壳程序中执行:

      windchill wt.tools.boot.MakeJar jar=wmautocad_config.jar


在Windchill PDMLink 8.0下,已经取消DMCCreate工具,不需要使用该工具进行处理。

wtacad.dmc文件的格式也已经更改,如下所示:

Windchill Workgroup Manager DMC, Revision 2.00
Generic
0

; This is the I-Cubed Workgroup Manager DMC file. To disable the explicit setting of
; a Windchill system property by the Workgroup Manager, comment out the property with
; a semi-colon (;). It is not recommended to comment out any system properties marked
; as required.

; Description: Windchill WTPart Number
; Required/Optional: Required
     1 SP:PART_NR                       U O T    200
    
; Description: Windchill WTPart Name
; Required/Optional: Required
     2 SP:PART_NAME                     U O T    200
    
; Description: Windchill EPMDocument Number
; Required/Optional: Required
     3 SP:DOC_NR                        U O T    200
    
; Description: Windchill EPMDocument Name
; Required/Optional: Required
     4 SP:DOC_NAME                      U O T    200

; Description: Windchill EPMDocument Model Name
; Required/Optional: Required
     5 SP:CAD_NAME                      U O T    200

; Description: Windchill EPMDocument Iteration
; Required/Optional: Required if not using SP:ITERATION
     6 SP:DOC_ITERATION                 U O T    200

...

 

只需要把不需要映射的属性前添加“;”注释即可

在Windchill PDMLink 8.0中,需要映射的软属性不需要在wtacad.dmc文件中定义。
但需要把所有需要映射的软属性添加到类型管理器EPMDocument和WTPart的模板中,否则将导致属性无法映射。

在Windchill PDMLink 7.0中,需要使用DMCCreate工具添加需要映射的软属性,但不需要在EPMDocument模板中定义就可以正常映射。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约