Display full version of the post: Error in Dialog File

Bladezy
08.04.2013, 08:39
Hi guys, I'm having some issues with some code i'm writing.i'll start off by giving you a idea of what i'm trying to do first:-The engineering firm i work for would like to have a 'check box legend' for our drawings.for example, we would like to have check boxes that you can select, that intern, depicts what is shown in our legends and what is not.eg. if you want to show an electrical service line in your legend, all you have to do is tick the box and it automatically inserts it into the legend on that specific page. okay so i've started writing this code (see attached) when i implement it into ACAD i get 3 errors in this order.1: error in dialog file 'C:\users\bladest\desktop\project\LEGEND.dcl' at end-of-file: premature end of file.2: error in dialog file 'C:\users\bladest\desktop\project\LEGEND.dcl' at end-of-file: syntax error symbol "spacer_0"3: the LEGEND.dcl file could not be loaded!any ideas guys? this one has got me stumped. the attached .dcl and .lsp files are what i'm using.Cheers guys!LEGEND.zip