CADDIT CAD CAM CNC Software - download AutoCAD compatible design software progeCAD Alibre T-FLEX and more
CADDIT Website Knowledge Base Search:

progeCAD Help

Welcome to progeCAD
Working with progeCAD
Command Reference
CAD System Variables
Programming progeCAD
Full Index (caution - 400kb)

Further Links:

Download progeCAD
Register progeCAD


T-FLEX PLM tutorial (PDF)
progeCAD IntelliCAD and AutoCAD training 
CATIA 2D 3D design tutorial
Alibre CAD/CAM basic tutorial


Educational CAD Software Solutions
Python scripting for DOS and Windows
Other free software downloads
CADDIT CAD CAM Forum Australia

(getfiled title filename ext flags)

Display the Select File dialog box.

This function displays the operating system's file dialog box, which allows the user to select a file.

The title argument is the title of the file dialog box; this appears on the title bar. To create a blank titlebar, type " ", but you cannot leave the argument blank.

The filename argument is the default filename that appears highlighted in the File name portion of the dialog box. For no filename, type " ", but you cannot leave the argument blank.

The ext argument specifies the filetype, such as "dwg", "txt", or "lsp". When the argument is " " , no filetype is specified. To specify all filetypes, use "*" for the argument.

The flags argument is a bitcode that specifies options for getfiled.

Bit code Meaning
1 Warn user about overwriting an existing file.
2 Disable "Type It" button.
4 The user can change the extension.
8 Use the progeCAD search path and only the name of the file, not the path spec.

You can sum the bits to specify more than one option. For example, bit code 5 is equal to the bits 1 and 4 added together, meaning the user will be warned about overwriting an existing file and is allowed to change the extension.


(getfiled "Drawing Files" " " "DWG" 2)

(getfiled "Lisp Files" "sample.lsp" "LSP" 6)

(getfiled "Hey! Pick a File:" "ICAD" "LSP" 4)


(alert string)

(findfile filename)

(load filename [flag])

(open filename mode)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

CADDIT® is a registered trademark in Australia. All Rights Reserved. Comments concerning the content of this site should be addressed to our webmaster. progeCAD is a trademark of ProgeCAD srl. Autodesk® and AutoCAD® are both registered trademarks or trademarks of a third party, and used only for comparison purposes. All other trademarks, trade names or company names referenced herein are used for identification only and are the property of their respective owners. Legal and Terms of Use. Google. Find us on Google+.