For all you clever guys who know LISP, I have a problem getting a function to work and need some help with it.
For those who do not specifically know Autocad Electrical, here is a bit of background. ACADE has a title block update facility and part of which can make a call to a LISP function and uses the returned value to populate an attribute in the title block. It does this using its own API.
The attached file works fine except the last function; totalsheet(...) basically I do not believe that it returns a value.
I might / might not be right with this assumption as I am completely new to LISP (I copied the other two functions!! J) and this was my first attempt from scratch.
The idea is that the function picks up all the files defined in the project and returns a total number of sheets; this is a function which is supplied by the ACADE API.
There are no errors generated so there is little to go on...
If anyone has any ideas I would very much appreciate them.
Thanks