IPdmHooks::AfterSaveAs



Your Ad Here

Description

An event occurs when you choose Save As from the Cimatron E main menu.

This method takes a list of the full paths of saved-as documents. It is guaranteed that the number of documents and their order in the list will be the same as in the list passed to the BeforeSaveAs method.

Syntax

AfterSaveAs(iApp, iData, iOperation, iDmOperResult, iDocPath)

Input: (Object) iApp

Pointer to the application.

Input: (Variant) iData

Not applicable.

Input: (Long) iOperation

A unique number, relative to the Cimatron E session, which identifies each event. For two consecutive events, the second (later) event will be identified by a greater number than the first.

This identifier is passed to both the Before and After methods of the event.

This gives you the ability to determine the scope of an event. Otherwise, due to event nesting, it would be difficult to associate a pair of Before and After method calls with one event.

Input: (DmOperResult) iDmOperResult

The result of the event process:

Processed

The event was processed.

Succeeded

The event was processed successfully.

Failed

The event was processed and has resulted in failure.

Cancelled

The event’s processing was cancelled.

Input: (String) iDocPath

Full path name of the .elt file.

Restrictions

You cannot override the default processing of the event.

 

Return to Cimatron Index


Your Ad Here