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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Ability to remove attachments on CAD object in Windchill

Ability to remove attachments on CAD object in Windchill

Often times when reviewing CAD files, I find the previous person has left an old STEP file, or other attachments on the CAD object. This can be removed in a workspace, but it would be nice to be able to just remove it from the table in the general "commonspace" view, the Attachments list on the content tab.

Since attachments are largely unseen inside Creo unless you go look for them, they typically go unnoticed until they are looked at in Windchill.

 

3 Comments
ScottMorris
16-Pearl

👍 the save as process in Windchill perpetuates this by always including attachments. there is no option to exclude attachments during save as, so all the old name PDF and STEP files are pushed forward to the new object requiring old attachments to be removed manually via WS modification. it would be really nice if attachments could be added and dropped in CS.

d_graham
17-Peridot

EPMDocument attachments could be removed from the Actions menu with a customAction.

This would not be difficult to do.

The "Remove Attachments" action could open a page that displays a check box followed by the attachment filename.

Select the ones you want to remove (or select the Select All button) and then select a button  (Remove, OK, whatever) and the attachments would be removed.

 

 

David

d_graham
17-Peridot

Guys,

 

This seemed not too time consuming so I thought I'd develop a tool to do this.

 

I have four attachments on an EPMDocument.

d_graham_0-1618590393426.png

 

I select my new custom action *Remove Attachments

d_graham_1-1618590551375.png

 

JSP opens listing all four attachments.  I select two of them to remove. Then select "Remove Attachments" button. 

d_graham_3-1618590917770.png

Page displays results.

d_graham_4-1618590996622.png

Refresh EPMDocument's detail page.  The two selected attachments have been removed.

d_graham_5-1618591115187.png

 

So, it's doable.  No checkout required either.

 

David