• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    Member
    chintan0910
    Posts: 3
    Registered: ‎04-05-2011

    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.

    Please use plain text.
    Employee
    Posts: 389
    Registered: ‎04-13-2010

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 111
    Registered: ‎12-11-2007

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 111
    Registered: ‎12-11-2007

    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

    Please use plain text.
    *Expert Elite*
    Posts: 2,528
    Registered: ‎10-18-2003

    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.

    Regards,

    Doug McAlexander
    Electrical CAD Industry Specialist
    Independent Consultant/Instructor/Mentor
    AutoCAD Electrical, VIA/WD, Toolbox/WD, ecscad, promis-e, RSWire

    Web site: www.ECADConsultant.com
    E-mail: ECADConsultant@gmail.com
    Phone: (770) 841-8009
    Please use plain text.
    New Member
    Posts: 2
    Registered: ‎08-29-2002

    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.

    Please use plain text.
    *Expert Elite*
    Posts: 2,528
    Registered: ‎10-18-2003

    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.

    Regards,

    Doug McAlexander
    Electrical CAD Industry Specialist
    Independent Consultant/Instructor/Mentor
    AutoCAD Electrical, VIA/WD, Toolbox/WD, ecscad, promis-e, RSWire

    Web site: www.ECADConsultant.com
    E-mail: ECADConsultant@gmail.com
    Phone: (770) 841-8009
    Please use plain text.
    *Expert Elite*
    Posts: 2,528
    Registered: ‎10-18-2003

    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.

    Regards,

    Doug McAlexander
    Electrical CAD Industry Specialist
    Independent Consultant/Instructor/Mentor
    AutoCAD Electrical, VIA/WD, Toolbox/WD, ecscad, promis-e, RSWire

    Web site: www.ECADConsultant.com
    E-mail: ECADConsultant@gmail.com
    Phone: (770) 841-8009
    Please use plain text.
    Active Contributor
    Posts: 33
    Registered: ‎04-26-2010

    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!!

    Please use plain text.
    Distinguished Contributor
    Posts: 173
    Registered: ‎03-03-2006

    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.

    Please use plain text.