信息迁移
自 Creo Elements/Direct 18.0 起,Creo Elements/Direct Part Library 18.0 之前的版本的信息可以迁移至 Creo Elements/Direct Part Library 18.0 或更高版本中。
* 
有关迁移的最佳做法的信息,请参阅 <Creo Elements/Direct Part Library installation location>/sd4/customizations/PartLibrary/Customization Migration Notes.pdf<Creo Elements/Direct Part Library installation location>/sd4/customizations/PartLibrary/library_part_migration.pdf
必须查看迁移的结果,并且根据需要手动对其进行更正。
要迁移信息,
1. 启动 Creo Elements/Direct Part Library。
2. 在用户输入行中键入 library_parts_migration。将打开迁移对话框。
3. OldDir 框中键入包含要迁移信息的目录的路径。
4. NewDir 框中键入应包含已迁移信息的新目录的路径。
* 
也可以在默认情况下通过添加下列环境变量设置目录的路径:
PART_LIBRARY_COMPANY_DIR:指定旧目录的路径。
PART_LIBRARY_PARTS:指定新目录的路径。
5. 进度框中,键入迁移状况的日志文件的名称。您还可以在日志窗口中检查迁移状况 (方法是单击视图,然后在窗口组中单击工具栏旁的箭头。单击控制台)。
6. 单击警告复选框,并在警告框中键入警告的日志文件的名称。
7. 错误框中键入错误的日志文件的名称。
* 
只有在迁移过程中发现错误和警告时,才能创建错误和警告的日志文件。
8. 单击 开始迁移。
一些有关错误和警告的示例及其含义如下:
错误及其含义
错误的示例
含义
2011.02.11 09:36:57 - <NEW PART normteile/company/T-Stück_DIN2615_154x2_14301 was not migrated. file X:/customer/isover/sd/sdp_customer/normteile/company/T-Stück_DIN2615_154x2_14301.pkg does not exist.>
指定的迁移文件被用户删除。
2011.02.11 09:56:46 - <ERROR reading cfg file of group <normteile/company/my_special_screws>>
指定组的配置文件 (*.cfg) 被删除或包含语法错误。
2011.02.11 10:02:30 - <ERROR reading msg file of group <normteile/company/my_special_screws>>
指定组的消息文件 (*. msg) 被删除或包含语法错误。
2011.02.11 10:02:50 - <object=normteile/profile/dinen10060_h6 was not migrated, because standard dinen10060_h6 has been removed from installed base (standard has been cancelled)>
通用标准被其他标准所取代,因此不能进行迁移。
2011.02.11 10:10:17 - <EXISTING PARAMETER PART normteile/muttern/dn315 was not migrated. There is no key column SID or NAME in the customized data table>
自定义数据表必须包括列 SID,因为它是主列。如果用户已删除 SID 列,则无法进行迁移。
2011.02.11 10:22:18 - <EXISTING PARAMETER PART normteile/muttern/dn315 was not migrated. Error import of data table X:/customer/isover/sd/sdp_customer/normteile/muttern/dn315.par>
自定义数据表文件包含语法错误。
警告及其含义
警告的示例
含义
2011.02.11 08:19:31 - <EXISTING PARAMETER PART normteile/dichtringe/dn7603_form_a : row SID=din7603a_6.7_9.4_1 column DN : value=<6.05> is different to original table (original value =<6>).>
原始数据表中的值已被修改。
2011.02.11 10:42:19 - <EXISTING PARAMETER PART normteile/gleitlager/dn1494 : The row SID=din1494_75_80_50_D is not part of the customized data table. Row has been marked as deleted.>
原始数据表中的行已被删除。
2011.02.11 08:19:31 - <EXISTING PARAMETER PART normteile/dichtringe/dn7603_form_a : The column DESCRIPTION_ENGLISH is not part of the customized data table.>
原始数据表中的列已被删除,或原始数据表中的列与迁移的版本不匹配。
2011.02.11 08:30:35 - <WARNING NEW GROUP name=<company/screws> has to be renamed to <company/screws>_138475238 (reason : uniqueness)>
Part Library 树形结构中的对象名称不唯一。迁移进程会对此类对象重命名。
这对您有帮助吗?