引數名稱
|
描述
|
範例
|
---|---|---|
typeOfObjectToDelete
|
要刪除物件的類型
|
BusinessRuleBusinessRuleSet BusinessRuleLink
|
金鑰
|
要刪除物件的唯一金鑰
|
CHECKOUT_RULE CHANGEABLE_PRE_RELEASE
|
containerPath
|
物件的前後關聯路徑
|
/wt.inf.container.OrgContainer=PTC/wt.pdmlink.PDMLinkProduct=GOLF_CART
|
|
用來刪除物件的引數必須位於引號中,因為前後關聯路徑可能包含空格。
|
刪除企業規則
|
windchill wt.businessRules.DeleteBusinessRuleObjects
"BusinessRule:keyToDelete:/wt.inf.container.OrgContainer=Org Name/wt.pdmlink.PDMLinkProduct=Product Name" |
刪除兩個企業規則集
|
windchill wt.businessRules.DeleteBusinessRuleObjects
"BusinessRuleSet:keyToDelete:/wt.inf.container.OrgContainer= Org Name/wt.pdmlink.PDMLinkProduct=Product Name" "BusinessRuleSet:anotherKey:/wt.inf.container.OrgContainer= Org Name/wt.pdmlink.PDMLinkProduct=Product Name" |
刪除企業規則連結
|
windchill wt.businessRules.DeleteBusinessRuleObjects
"BusinessRuleLink:businessRuleSetKey:/wt.inf.container. OrgContainer=Org Name/wt.pdmlink.PDMLinkProduct=Product Name:businessRuleKey:/wt.inf.container.OrgContainer=Org Name/wt.pdmlink.PDMLinkProduct=Product Name" |