Visual CADD knows about non native external functions and procedures through the CMDEXT.DEF text file. New functions and procedures can be added with the aid of a plain text editor. Look at the help file that comes with Visual CADD under the Custom Commands topic.
Open the CMDEXT.DEF file with Notepad (or a like plain text editor) and add a line of text using the following format to add a new command to the Visual CADD arsenal.
Native Command, Two Letter Command, Bitmap File, Name to appear on menu, Status Line Description, Script
For a new command that calls an external executable file the line could look as follows:
HATCHCHANGE,HC,C:\HATCH.BMP,HATCH &CHANGE ,SELECT HATCH, EXENAME;HATCH.EXE;RUN;
For a new command that calls an external dynamic link library command the line could look as follows:
ANoise,AN, ,AN,AN:,DLLName;DLLTest.DLL;DLLFunName;ANoise;DLLRun;