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

API to Erase GPH files from the session in Creo Parametric

API to Erase GPH files from the session in Creo Parametric

The Toolkit does not contain any functionality that allows the removal of a GPH file from the session.

 

At this point, to do this, it is necessary to create a macro that does the following steps:

Tools> UDF Libraries> DBMS> ERASE> "Choose GPH file"> Confirm

 

I think it would be important to add a function that allows the removal of a specific GPH file from the session.

 

This function would have as an input parameter, an xstring with the name of the GPH file. The function would go through all the GPH files in the session and if there was one with the same name, it would be removed from the session.

 

I think this new function would be beneficial for future implementations.