Solid Edge Framework Type Library
OnFileNewUI Method
Specifies the new file name.
Specifies the name appended to the title.
Description
Occurs before the user interface is created for a new Solid Edge file.
Syntax
Visual Basic
Public Function OnFileNewUI( _
   ByRef Filename As String, _
   ByRef AppendToTitle As String _
) As HResult
Parameters
Filename
Specifies the new file name.
AppendToTitle
Specifies the name appended to the title.
Remarks
If you do not want to handle this event, return E_NOTIMPL so that Solid Edge proceeds as if no application was listening to the event and displays its dialog box. If you want to cancel the command, return S_OK (or S_FALSE) while returning all the strings as NULL strings so that Solid Edge proceeds to cancel the command without displaying its dialog box. If you return any other error, Solid Edge aborts the command just as it does when an error is received from one of its native methods. If you return S_OK with valid output strings, Solid Edge proceeds to use the strings accordingly.
See Also

ISEFileUIEvents Object  | ISEFileUIEvents Members

Send comments on this topic.