Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I run the macro I receive a translator error. When I import the same file, without the macro, the translator works fine.
// Create a list of files located in a specific folder
string LIST files = list_files("files","M:\LUTEJ1_Toolpaths\PN_103006\L00020_Build_Creo")
// Select a file from the list
INT x = INPUT CHOICE $files "Choose the desired Folder"
// Define a variable that includes the name of the file selected for import
string filename = $files[$x]
// Review file name selected, for testing only
print $filename
Macro pause $filename
// Import model
IMPORT MODEL FILEOPEN $filename
Solved! Go to Solution.