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

Programmatically Remove the added WTPart & EPMDocument from the WorkSpace (WGM)

RaikarRaghu
12-Amethyst

Programmatically Remove the added WTPart & EPMDocument from the WorkSpace (WGM)

I added the part and its associated Cad object into the workspace, I did checkout and check-in, I need to remove the object from the workspace programmatically which I added.

 

Issue: - I am unable to remove the objects from the workspace. Please suggest some ides to achieve this.

6 REPLIES 6

Hi,

Isn't there a API for removing objects from Workspace?

There must be. Please look into the Javadoc.

Also, dependency should be looked at.

Are you able to remove the objects manually from the workspace?

 

Rgds

Hari

Hi Hari,

Yes.!. manually we can remove the objects from the workspace, 

 

Regards

Raghavendra

Fadel
22-Sapphire II
(To:RaikarRaghu)

RaikarRaghu
12-Amethyst
(To:Fadel)

Hi Fadel

 

Thank you.

I will try, it is Possible to create the Workspace and delete the created workspace programmatically, because instead of adding and removing the objects from the workspace, I think creation & deletion is the best solution.

 

Regards

Raghavendra

 

Hi @RaikarRaghu 

@Fadel has provided the solution. 

PetrH

Hi

Solution is ok, but I wanted to create the workspace programmatically, and adding the objects into the newly created workspace, after the modification  i wanted to delete the workspace.

 

Raikar

Announcements

Top Tags