cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to Remove an Effectivity context from part via code

sbegum-2
11-Garnet

How to Remove an Effectivity context from part via code

Hi,

I am trying to remove an existing effectivity context for a WTpart via code. As far as I have checked, there is no API to do so and have tried using PersistenceHelper.manager.delete(obj), but this throws an exception saying that the 'obj' is an effectivity context and hence cannot be deleted. So, I understand that I need to remove this 'obj' as an 'Effectivity context' from the related part but I don't know how to do that yet.

Any clue/suggestions would be really appreciated.

Thanks!

 

0 REPLIES 0
Top Tags