自变量名称
|
说明
|
示例
|
---|---|---|
typeOfObjectToDelete
|
要删除对象的类型
|
BusinessRule
BusinessRuleSet
BusinessRuleLink
|
Key
|
要删除对象的唯一键
|
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" |