AutoCAD Electrical General

Reply
Member
chintan0910
Posts: 3
Registered: ‎04-05-2011
Message 11 of 32 (1,282 Views)

Re: Next Sheet Number

04-07-2011 11:56 PM in reply to: DBrohm

Hello Dear,

 

I want next sheet number instead of total sheet number. & there is no topic in help file.

Employee
KevinLi-Autodesk
Posts: 425
Registered: ‎04-13-2010
Message 12 of 32 (1,277 Views)

Re: Next Sheet Number

04-08-2011 12:05 AM in reply to: chintan0910

Hi chintan0910,

 

I am sorry to make it confused and unclear for you, i just give my suggestion to druida78's question of how to create WD_TB mapping attribute :smileyhappy:.

 

For your question i will take a look at it.

 

Regards,

 

Kevin Li

Kevin-Hongyuan Li
Quality Assurance Team
Autodesk, Inc.
Distinguished Contributor
mako68
Posts: 118
Registered: ‎12-11-2007
Message 13 of 32 (1,245 Views)

Re: Next Sheet Number

04-21-2011 12:26 AM in reply to: dougmcalexander

Hi Doug,

 

I'm using WD_TB title block method with PREVSHEET/NEXTSHEET. When I change the SHEETvalue for certain drawing in Drawing attributes and run the title block update it updates the  PREVSHEET/NEXTSHEET but when I change it again and run TB update it will not work anymore..? So for me it works only once in current session. When I close/open ACADE again it works again (...once only).

 

I'm using ACADE2012 (64bit) and the tbnp.lsp you attached to your post

 

Regards

Mako

Distinguished Contributor
mako68
Posts: 118
Registered: ‎12-11-2007
Message 14 of 32 (1,206 Views)

Re: Next Sheet Number

05-02-2011 04:07 AM in reply to: chintan0910

Has anyone tested this with ACADE2012?

For me it's only works once per currect session...

 

Mako

*Expert Elite*
dougmcalexander
Posts: 2,986
Registered: ‎10-18-2003
Message 15 of 32 (1,191 Views)

Re: Next Sheet Number

05-02-2011 04:58 PM in reply to: mako68

I'm not having any trouble.  It works fine with version 2012 for me.

Doug McAlexander
Independent Consultant/Instructor/Mentor specializing in AutoCAD Electrical, ecscad, and promis-e implementation

Web site: www.ECADConsultant.com
Phone: (770) 841-8009

Please Accept as Solution if I helped you. Kudos are also much appreciated.
New Member
gak19043
Posts: 2
Registered: ‎08-29-2002
Message 16 of 32 (1,173 Views)

Re: Next Sheet Number

05-04-2011 07:52 AM in reply to: dougmcalexander

Hi. I'm just researching ways to have my title block automatically update the sheet number and total numbe of sheets and came across this thread.

 

So far, it seems that even in 2011 AutoCAd has not addressed this issue that seems manu people need. Because everything I've come across so far involves programming and lisp routines and sheet sets and or fileds and attributes and so on and on and on.

 

After reading all of this I still haven't come up with an answer to this probelsm. What is  WD_TB?? Can someone explain that to me? Is that one possible method?

 

I've tried the sheet set and field method but can't seem to get the currentSheetnumber variable to change for me-I got that method by reading that article called "Sheets Happen" (I don't know the author) it is a godd article if you want to know about Sheet sets.

*Expert Elite*
dougmcalexander
Posts: 2,986
Registered: ‎10-18-2003
Message 17 of 32 (1,168 Views)

Re: Next Sheet Number

05-04-2011 09:10 AM in reply to: gak19043

I've been using the method I explained earlier in this thread for the past four releases and it works perfectly.  It also works with the sub-projects I create with Super Project Manager.

 

The WD_TB is a hidden attribute that is inserted into your drawing template when you choose Method 2 under Title Block Setup, while creating the base drawing for your Electrical drawing template.  Follow the 11-step guide on the Tips and Tricks page of www.ECADconsultant.com and add the special string of text that triggers the tbnp.lsp routine to the end of the WD_TB attribute using the Properties command to edit the WD_TB.  The Properties command can handle more than 256 characters of attribute value text.  Add the text string that calls the tbnp.lsp routine to the end of the WD_TB after you have performed step 5 but before step 6.

 

Note: The WD_TB method of title block attribute mapping was added by VIA Development in the last years before Autodesk purchased Wiring Diagram and renamed it AutoCAD Electrical.  So the WD_TB method has existed for quite a long time.  Autodesk added the Title Block Setup Wizard, which makes it easier to setup the WD_TB.  The WD_TB is an improvement over the original .WDT file method because the mapping is contained within the border drawing itself, not a separate file.

Doug McAlexander
Independent Consultant/Instructor/Mentor specializing in AutoCAD Electrical, ecscad, and promis-e implementation

Web site: www.ECADConsultant.com
Phone: (770) 841-8009

Please Accept as Solution if I helped you. Kudos are also much appreciated.
*Expert Elite*
dougmcalexander
Posts: 2,986
Registered: ‎10-18-2003
Message 18 of 32 (1,145 Views)

Re: Next Sheet Number

05-07-2011 09:09 PM in reply to: dougmcalexander

Correction:  There does seem to be a problem with new pages that get added to a project..  I have to run AEREBUILDDB prior to executing the Title Block Update in order for the previous and next sheet attributes to get updated.  It seems that 2012 isn't maintaining the database the same as 2011 and previous did.  So if you are using the tbnp.lsp to update previous and next sheet attributes, run the Rebuild Database command before Title Block Update.  You can choose to Freshen Only and that will be enough.  There used to be an icon for Rebuild/Freshen.  Now you have to type AEREBUILDDB at the command line and press enter.  I used the CUI editor to add the Rebuild/Freshen back to my Project panel.  It also comes in handy when you replace drawings in a project from a backup and you want to force the database to update.  I wish Autodesk had not removed the icon.  I have to put it back with each release.

Doug McAlexander
Independent Consultant/Instructor/Mentor specializing in AutoCAD Electrical, ecscad, and promis-e implementation

Web site: www.ECADConsultant.com
Phone: (770) 841-8009

Please Accept as Solution if I helped you. Kudos are also much appreciated.
Active Contributor
eric.powell
Posts: 33
Registered: ‎04-26-2010
Message 19 of 32 (1,034 Views)

Re: Next Sheet Number

12-01-2011 08:12 AM in reply to: dougmcalexander

Does anyone else have a copy of this LISP ZIP file?  I try to download it but it says that it is corrupted.

 

Thanks!!

Distinguished Contributor
iomaxx
Posts: 178
Registered: ‎03-03-2006
Message 20 of 32 (811 Views)

Re: Next Sheet Number

02-07-2013 11:35 AM in reply to: eric.powell

one quesiton regarding this, or LISP routines in general.

 

I received a LISP routine to call through the WD_TB attribute similar to what's mentioned here. The LISP file is put in the c:\program files\autodesk\acade 2013 folder but when i run a titleblock update, i get this:

 

Interpreting as AutoLisp: (IF (SETQ X (FINDFILE "TITLEBLOCK UPDATE.LSP"))PROGN(LOAD X)(C:NEXTSHEET)) " ")
Error: syntax error

 

Googling 'syntax error' regarding autocad is pretty vague, anyone have thoughts on what syntax problem is with what i have above?

 

Thanks.

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