Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSelectionBox CatFileSelectionModeSave with initial path/name

Status
Not open for further replies.

M1nh

Automotive
Joined
Nov 22, 2023
Messages
3
Location
DE
Hi, does anyone here know how to set the initial file name when using the "Fileselectionbox" with the "CatFileSelectionModeSave" ?
I want to write some data in a text file where the file name of the text file is set as the part number of the selected part.
the problem I'm having is setting the initial name in the dialogue.
at the moment i can only set the Title and the Extension. any help would be appreciated.


eg.
CATIA.FileSelectionBox("Save txt File", "*.txt", CatFileSelectionModeSave)
 
Can't be done with FileSelectionBox

Check this thread
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top