Argument Name
|
Description
|
Examples
|
typeOfObjectToDelete
|
The type of object to delete
|
BusinessRuleBusinessRuleSet BusinessRuleLink
|
Key
|
The unique key of the object to delete
|
CHECKOUT_RULE CHANGEABLE_PRE_RELEASE
|
containerPath
|
The context path of the object
|
/wt.inf.container.OrgContainer=PTC/wt.pdmlink.PDMLinkProduct=GOLF_CART
|
|
The argument for the object to delete must be in quotes since context paths may contain spaces.
|
Deleting a business rule
|
windchill wt.businessRules.DeleteBusinessRuleObjects
"BusinessRule:keyToDelete:/wt.inf.container.OrgContainer=Org Name/wt.pdmlink.PDMLinkProduct=Product Name" |
Deleting two business rule sets
|
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" |
Deleting a business rule link
|
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" |