Applied to: ZWCAD 2017; ZWCAD 2018
Issue:
To add a button in a toolbar to import a DLL file when starting ZWCAD every time
Solutions:
1.Add the DLL file path to the Support search file path in Options;
2.Create a test.txt file and input the following code, and then save it as test.lsp file; Take the test.dll for an example.
(defun c:test() (command "_netload" "test.dll") (princ) )
3. Input APPLOAD command, then add test.lsp file in the startup suite;
4. Input MENULOAD command, then load the attached test.mnu file. Then a new toolbar containing a button named "test" will be displayed, click the button and then the test.dll file will be imported.