FileManagerDelete

The FileManagerDelete event notifies the client whenever a file is deleted using the DeleteFile method of the Inventor FileManager object (Inventor API call). Only _Post is available.

EventNames:

  • FileManagerDelete_Post

Parameters

Type

Name

Description

String

fullFileName

The full filename of the file being deleted.

Remarks:

This event can be aborted by throwing an exception inside the action.
Throwing an OperationCanceledException aborts the operation without any message.
Throwing any other exception aborts the operation and displays the thrown exception in an Error Message Box.

Examples:

FileManagerDelete_Post:

Register-InventorEvent -EventName FileManagerDelete_Post -Action 'PostFileManagerDelete'

function PostFileManagerDelete($fullFileName) {
	#Write event code here
}