FileNew
The FileNew fires before a File New from standard template is executed.
EventNames:
FileNew_Pre
Parameters
Type |
Name |
Description |
|---|---|---|
documentType |
DocumentTypeEnum indicating the document type |
Examples:
FileNew_Pre:
Register-InventorEvent -EventName FileNew_Pre -Action 'PreFileNew'
function PreFileNew($documentType) {
#Write event code here
}