与其他应用程序集成 > 与 Creo Elements/Direct Model Manager 集成 > 最佳实践 > 网关最佳做法建议
  
网关最佳做法建议
鼓励的操作
建议在 Windchill 中定义一套编号方案,以生成将分配给导入到 Windchill 中的 Creo Elements/Direct Model Manager 对象的编号。有关详细信息,请参阅配置编号方案
不鼓励的操作
PTC 不鼓励在 Windchill Gateway for Creo Elements/Direct Model Manager 中执行下列操作:
Windchill 端安排作业。此集成旨在用于从 Creo Elements/Direct Model Manager 执行所有作业启动。有关详细信息,请参阅用户驱动发布规则驱动发布
Windchill 端启动对象的某些更改。因为通过 Windchill Gateway for Creo Elements/Direct Model Manager 进行发布是单向的,所以必须格外小心,以免覆盖从 Creo Elements/Direct Model Manager 中发布的 Windchill 数据。在 Windchill 端,可以添加从 Creo Elements/Direct Model Manager 中发布的数据,但需要避免可能导致发布错误或数据丢失的更改,Windchill 端生成的值可能会在 Creo Elements/Direct Model Manager 下次发布更新时被覆盖。在 Windchill 中修改 Windchill Gateway for Creo Elements/Direct Model Manager 发布的对象时,请遵守以下几项预防措施。
:
Windchill 中向 MMModel 或 MMDrawing 文档添加附件时,避免以模型或绘图名称作为开头来命名附件;否则,在下一个小版本中将不支持这些附件。在 Creo Elements/Direct Model Manager 中避免自定义文件附件的默认名称格式。
避免在 Windchill 中将 mmlf 文件作为附件添加到 MMModel 和 MMDrawing 文档;否则,在后续小版本中将不支持 Windchill 中创建的附件。
避免在 Windchill 中为 Creo Elements/Direct Model Manager 发布的 MMPart 和 MMDocument 修改“说明方”和“说明”关系。在发生冲突的情况下,优先采用来自 Creo Elements/Direct Model Manager 的修改。
Creo Elements/Direct Model Manager 中发布主数据时,将始终转到与 Creo Elements/Direct Model Manager 中的主数据版本相匹配的 MMpart 修订版本。请不要在 Windchill 中修订 MMModel 或 MMDrawing 文档。如果用户在 Windchill 中修订 MMPart,则必须同时修订 Creo Elements/Direct Model Manager 中的 MMpart 主数据,以保持修订版本同步。否则,在后续发布中,只会在 Windchill 更新发送自 Creo Elements/Direct Model Manager 的最新修订版本。
不得将 GatewayConfig.xml 中的属性 IteratePartOnNewDocumentIteration 设置为 "false"。(将其保留为默认值 "true"。)
避免在 Windchill 中添加与模型同名的表示;否则,在 Creo Elements/Direct Model Manager 中为相同的模型主数据发送表示将失败。在这种情况下,应该对 Windchill 中的表示名称重新命名,以便成功导入。
Creo Elements/Direct Model Manager 中更新在 Windchill 中处于检出状态的对象将受阻;因此,请确保这些对象在 Windchill 中未处于检出状态。如果更新失败,请确保在 Windchill 中检入或取消检出,然后再从 Creo Elements/Direct Model Manager 中重新发布。