Hi, can anyone advise if is it possible to show to the previous and next drawing page numbers on a drawing. These would need to be auto linked as drawings may be added and removed??? Thanks.
Can someone tell me where the C:nextsheet & C:prevsheet routines can be found and also file Acad200xdoc.lsp?
Thanks.
This was an answer to the nextsheet question:
Thanks for that.
I have pasted a copy of the lsp. file to Doc&setiings\All users\Documents\Autodesk\Acade 2012\Support. I also have lsp. files which reside in Program Files\ Autodesk\Acade 2012|Express. However I have created user defined attributes NEXT_ATTRNAME & PREV_ATTRNAME. I have first of all assigned (getvar "c:nextsheet") to NEXT_ATTRNAME and updated list, then created my wdt. file. I then ran the title block update. I am not getting an output value on the drawing. However the command bar is telling me that it is interpreting as AutoLISP: (GETVAR "C:NEXTSHEET"). I am not sure if am entering the correct expression into the AutoLisp expression in the title block user defined attributes and therefore not sure if it is actually calling the routine when I run the title block update. Please can you advise whats going on?
Thanks very much.
I belive the correct syntax is just:
(c:nextsheet)
i'm having a similar issue, when i update the titleblock, it tries opening the LSP it seems...this is what commandline gives me:
Interpreting as AutoLisp: (IF (SETQ X (FINDFILE "TITLEBLOCK UPDATE.LSP"))PROGN(LOAD X)(C:NEXTSHEET)) " ")
Error: syntax error
what is wrong with that syntax? I used WD_TB to link up the attribute NEXT with the above text string, and placed the file in the autocad folder it needs to be in, but something must be missing. or i am missing it...
thanks in advance for any insight.
got it. what's listed is missing a ( before the PROGN. should show as:
(IF (SETQ X (FINDFILE "TITLEBLOCK UPDATE.LSP"))(PROGN(LOAD X)(C:NEXTSHEET)) " ")
then it works.
If you still can't figure it out, try this blog post. It's a bit more graphical.
http://myacade.blogspot.com/2013/01/autocad-electrical-title-block-update_14.html
Can't find what you're looking for? Ask the community or share your knowledge.