FileOpenFromMRU

The FileOpenFromMRU event notifies the client when the user selects a file from the most recently used (MRU) list to open it. The Open dialog is bypassed in this case, so [FileOpenDialog](<</code_reference/objects/inventor_event_mappings/fileui_events/fileopendialog>) is not triggered.

EventNames:

  • FileOpenFromMRU_Pre

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:

FileOpenFromMRU_Pre:

Register-InventorEvent -EventName FileOpenFromMRU_Pre -Action 'PreFileOpenFromMRU'

function PreFileOpenFromMRU() {
	#Write event code here
}