Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ignore Specific File Alerts

Status
Not open for further replies.

jzecha

Aerospace
Jan 20, 2016
235
US
I have written a Macro that saves Parts and Products as their in session Part Number.
When ran it causes most parts to have file alerts, which is why I have them turned off with CATIA.DisplayFileAlerts = False.
This macro does exactly what I needed it to do.

Occasionally the Macro will fail in the middle of saving.
I have disabled the file alerts and manually clicked through the alerts to discover that some Parts and Products had symbols in their names, which are unable to be saved, which causes the macro to crash.

It has since started failing again.
Without spending a significant amount of time clicking through file alerts (2,000+ Parts/Products), is their a way to just turn on specific alerts?
The ones I would like to turn off are the two shown below:

Part activates other document save operations.
Do you want to proceed? (Yes)

Part is referenced by other documents in session.
Save As will update the links in session on the new name.
Don't forget to save this documents if you want to keep those links.
You can use Save Management to control the impacts.
Do you want to proceed? (Yes)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top