3.3.2.4.1. Problem-Lösung

Für folgende Problematiken gibt es einen Lösungsansatz:

  • allgemeine Probleme mit SaveAs, die nicht in der Lage sind, TC Items zu erstellen und Datensätze hochzuladen (z.B. wenn SaveAs es nicht schafft, Elemente mit obligatorischen Attributen zu erstellen)

  • SaveAs fügen Zeichnungen von vorherigen SaveAs hinzu, wenn DisplayAlerts auf false gesetzt ist

Dabei geht es darum, dass die SolidEdge API es nicht schafft,Teamcenter Items mit Pflichtattributen zu erstellen. Der Lösungsansatz sieht vor, das Item in Teamcenter über den SOA_CLIENT anzulegen, bevor SolidEdge das Teil erstellt und dann in das vorbereitete Item hochlädt. Dazu gibt es in der Konfigurationsdatei ifseteamcenter.cfg folgenden Schlüssel zum aktivieren und 2 Attributsektionen für das Anlegen von Items:

[CreationOptions]

#:HELP;If SolidEdge fails to create Teamcenter Items even when some/all of the workarounds 
 (<applyUploadFix>, <DocBeforeSave>, <DocOnSave>) are used, activate this to pre create 
 Teamcenter Items
#using Teamcenter public api (SOA_CLIENT). In this case the SolidEdge SaveAs API adds a 
 SolidEdge Dataset to the pre created Item when SaveAs is executed.
#Default is No.
#:VALS_M;"0","1";"No","Yes"
#:INACTIVE;PreCreateTeamcenterItems=0
#:HELP;Item (& ItemMaster) properties. Depending on your configuration it may be required to 
 also add these attributes to the section [Custom] using the
#SolidEdge attribute naming scheme <object>.<AttributeDisplayName> 
(e.g. Item.My custom attribute). Return-mapping is not supported in this section.
[Item_Attributes]

#:HELP;ItemRevision (& ItemRevisionMaster) properties. Depending on your configuration it may 
 be required to also add these attributes to the section [Custom] using the
#SolidEdge attribute naming scheme <object>.<AttributeDisplayName> 
 (e.g. itemRev.My custom attribute). Return-mapping is not supported in this section.
[ItemRevision_Attributes]