Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi,
I couldn't get this "previous/nextsheet" lisp work with ACADE2011. Is it so that WD_TB allows max is 256 characters? In that case there is not much space left for other attributes...
Regards
Mako
You might want to consider using the “wdt” file method of title block updating that is what we use and thus far no issues that I have found.
It works.. Edit WD_TB with Propetties, not Attribute Editor. Attribute Editor is limited to 256 characters but Properties is not.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hello Dear,
My client required Next Sheet number in the title block.
I had past tbnp.lsp file on specific location. & I had also update *.wdt file with your specified text string for NEXT SHEET. But while I am using Project-Title block setup-WD_TB att. Method- I can not get NEXTSHT in Drawing properties. So please guide me what can I do ?
Please send me the step for the process.
Hello Dear,
My client required Next Sheet number in the title block.
I had past tbnp.lsp file on specific location. & I had also update *.wdt file with your specified text string for NEXT SHEET. But while I am using Project-Title block setup-WD_TB att. Method- I can not get NEXTSHT in Drawing properties. So please guide me what can I do ?
Please send me the step for the process.
Hi.
What is the way to create a WD_TB mapping attribute?
Thanks.
Ernesto Fraga
I title block update without it and it works but I would like to improve.
Ernesto Fraga
Montevideo - Uruguay
Hi,
Does the way defined in the help document help you to create it ? I capture the screenshot and attach it.
Regards,
Kevin Li
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 :).
For your question i will take a look at it.
Regards,
Kevin Li
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
I'm not having any trouble. It works fine with version 2012 for me.
Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
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.
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
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
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
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Does anyone else have a copy of this LISP ZIP file? I try to download it but it says that it is corrupted.
Thanks!!
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.
Can't find what you're looking for? Ask the community or share your knowledge.