AutoCAD Electrical General

Reply
Valued Contributor
Posts: 92
Registered: ‎04-17-2012
Message 1 of 8 (577 Views)

Auto Sequencing Page Numbers

577 Views, 7 Replies
11-15-2012 03:11 AM

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.

Valued Contributor
Posts: 92
Registered: ‎04-17-2012
Message 2 of 8 (572 Views)

Re: Auto Sequencing Page Numbers

11-15-2012 04:13 AM in reply to: STEVENAR

Can someone tell me where the C:nextsheet & C:smileytongue:revsheet routines can be found and also file Acad200xdoc.lsp?

 

Thanks.

Valued Contributor
Posts: 72
Registered: ‎05-13-2010
Message 3 of 8 (557 Views)

Re: Auto Sequencing Page Numbers

11-15-2012 08:38 AM in reply to: STEVENAR
Valued Contributor
Posts: 92
Registered: ‎04-17-2012
Message 4 of 8 (528 Views)

Re: Auto Sequencing Page Numbers

11-16-2012 01:52 AM in reply to: electricman1

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.

*Expert Elite*
rhesusminus
Posts: 793
Registered: ‎09-21-2007
Message 5 of 8 (458 Views)

Re: Auto Sequencing Page Numbers

11-21-2012 12:50 AM in reply to: STEVENAR

I belive the correct syntax is just:

(c:nextsheet)

 

 


THL
Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. ;-)
Distinguished Contributor
Posts: 178
Registered: ‎03-03-2006
Message 6 of 8 (306 Views)

Re: Auto Sequencing Page Numbers

02-07-2013 11:43 AM in reply to: STEVENAR

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.

 

Distinguished Contributor
Posts: 178
Registered: ‎03-03-2006
Message 7 of 8 (303 Views)

Re: Auto Sequencing Page Numbers

02-07-2013 11:46 AM in reply to: iomaxx

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.

Distinguished Contributor
s.wile
Posts: 121
Registered: ‎12-08-2008
Message 8 of 8 (291 Views)

Re: Auto Sequencing Page Numbers

02-07-2013 06:51 PM in reply to: STEVENAR

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

Stan Wile
http://myacade.blogspot.com/
IMAGINiT Technologies

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Ask the Community