工作定義轉換器物形式服務
可在工作定義轉換器物形式 (PTC.SCA.SCO.WorkDefinitionConverterThingShape) 中找到下列服務:
ConvertFromProcessPlanID - 從 Windchill 製程計劃識別元取得所有製程計劃定義及其相關資訊,並透過按順序呼叫 BatchConvertFromProcessPlanIDBatchConvertFromProcessPlanIDContinuation 服務將其放入資料庫。接受作為 JSON 輸入參數的導覽條件,以篩選要轉換的製程計劃資料。
輸入參數:
processPlanId (STRING) - 要轉換之 Windchill 製程計劃的識別元。在 Windchill 中查看製程計劃時,製程計劃識別元會是 URL 中 oid= 之後的部份。例如,在以下 URL 中,製程計劃識別元會以粗體文字顯示:
http://<Windchill Hostname>:<port>/Windchill/app/#ptc1/tcomp/infoPage?oid=OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:273985
processPlanNavigationCriteria (JSON) - JSON 有效負載,用於定義與製程計劃的已存篩選器相等的導覽條件。
relatedAssemblyNavigationCriteria (JSON) - JSON 有效負載,用於定義與製程計劃的已存相關組件相等的導覽條件。
若需進一步資訊,可參閱 在製程計劃轉換中使用導覽條件
輸出:已轉換製程計劃的根工作定義 UID。
* 
BatchConvertFromProcessPlanIDBatchConvertFromProcessPlanIDContinuation 服務由 ConvertFromProcessPlanID 按順序呼叫,先後用於完成製程計劃資料下載。
作為自訂,您可以執行這些服務以符合您的商業需求。BatchConvertFromProcessPlanID 服務必須在 BatchConvertFromProcessPlanIDContinuation 服務開始之前完成執行。這可確保 BatchConvertFromProcessPlanID 服務中的必要輸出可以作為輸入參數提供給 BatchConvertFromProcessPlanIDContinuation 服務。
IterativeConvertFromProcessPlanIDIterativeConvertFromProcessPlanIDContinuation 服務可在自訂中使用,但不會依預設用於製程計劃轉換。
ConvertFromProcessPlanId - 從 Windchill 製程計劃識別元取得所有製程計劃定義及其相關資訊,並在有需要時透過內部呼叫其他轉換服務將其放入資料庫。接受已存製程計劃篩選器與相關組件篩選器的識別元作為輸入參數,以篩選要轉換的製程計劃資料。
輸入參數:
processPlanId (STRING) - 要轉換之 Windchill 製程計劃的識別元。在 Windchill 中查看製程計劃時,製程計劃識別元會是 URL 中 oid= 之後的部份。例如,在以下 URL 中,製程計劃識別元會以粗體文字顯示:
http://<Windchill Hostname>:<port>/Windchill/app/#ptc1/tcomp/infoPage?oid=OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:273985
processPlanNavigationCriteriaId (STRING) - processPlanId 中指定之製程計劃的已存篩選器識別元。
relatedAssemblyNavigationCriteriaId (STRING) - processPlanId 中指定之製程計劃的已存相關組件篩選器識別元。
若需進一步資訊,可參閱 將已存篩選器 ID 指定為導覽條件
輸出:已轉換製程計劃的根工作定義 UID。
GetMaterialUseValue - 在製程計劃轉換期間使用,獲取從 Windchill 對應至分配類型值的 MaterialUse 值。
輸入參數:materialUse (STRING)
輸出:result (STRING)
這是否有幫助?