Message 1 of 4

Not applicable
04-13-2016
01:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Windows 7, AutoCAD Mechanical 2012
On the launch I run a LISP routine that has the line below. The toolbar menu comes in fine the first time but then on the second launch I get this and I have to click esc to get it to cancel.
Enter name of customization file to load: my_toolbar.cuix my_toolbar.cuix
Enter name of customization file to load: nil
Enter name of customization file to load: *Cancel*
(command "cuiload" "My_toolbar.cuix")
I've tried an if statement but menugroup will return nil if the toolbar menu is there or if it is not there.
(IF (= nil (menugroup "my_toolbar"))(command "cuiload" "my_toolbar.cuix"))
I know I'm missing somthing simple
Solved! Go to Solution.