Automatic Page Numbering Issue

Automatic Page Numbering Issue

Anonymous
Not applicable
23,705 Views
16 Replies
Message 1 of 17

Automatic Page Numbering Issue

Anonymous
Not applicable

Hello All, 

First off, a complaint:
Why is there no function which auto updates page numbers simply based on # of layouts? 
Ex: Sheet # of #, where 1st # is your current page and the second # is total layout pages. 

Since there isn't a function like this, I have simply decided to use the CurrentSheetNumber field. 
Unfortunately, Our drawings require us to sometimes copy our title block layout and create a new, almost identical additional page. To do this I simply click on the layout tab--> right click -- Move or Copy and then create my copy. 

My current page numbers look like:
Capture.PNG
Where the [2] is a field described by CurrentSheetNumber. When I make a copy of this sheet, however, both display [2]. I was hoping that the sheet in the 3rd place on the tabs would get numbered as sheet [3].
Capture.PNG
I have my field eval to update whenever I save, so I know that's not the problem. 
Any advice would be greatly appreciated. 

-Russ

0 Likes
Accepted solutions (1)
23,706 Views
16 Replies
Replies (16)
Message 2 of 17

beyoungjr
Advisor
Advisor

Hi,

Check out this site HERE.

 

I think it's what you might be looking for?

 


Blaine Young
Senior Engineering Technician, US Army

0 Likes
Message 3 of 17

ara_neresesian
Collaborator
Collaborator

hi

Type this in Diesel Expression box.

$(getvar,ctab)

and it will print your page name on that position.

Capture.PNG

If it is helping you please accept it as a solution

tank you

Message 4 of 17

Anonymous
Not applicable

This specific solution doesn't work for us as it requires a new naming convention for our layout tabs. Additionally, If I were to make a copy of a layout tab, I would have to rename it based on its position so that the corresponding page # would be correct, thereby eliminating any automation I was hoping to perform. 
Thanks for the suggestion though! 


If, when I made a copy of a existing tab, it named that tab based on its position in order on the layout tabs (I.E. if the copy were placed in the 4th position, it would be named (4)) then that would be helpful. 


0 Likes
Message 5 of 17

jggerth
Advisor
Advisor

You might want to consider using SheetSet Manager to track and maintain that information.  While a bit more complex, there is much more management capability and flexibility 

Message 6 of 17

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I agree with @jggerth that SheetSets would probably be the tool you are looking for with this question.

 

Let me know if you need help in trying this on one of your drawing sets.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 7 of 17

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

There are a lot of suggestions here. Did any of them help you to resolve your sheet numbering question?

 

Please add a post with the status of your issue.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 8 of 17

Anonymous
Not applicable

Thank you for the suggestion. The Field editing doesn't seem to be working so I imagine that the Sheet Set Manager is my last hope. 

I have used what little knowledge I have about sheet sets to create a sheet set within my template file (Figure 1.)

 

Capture.PNG

Past this point, I am uncertain of how to have these display page numbers, and how those page numbers will be updated when I create a new layout tab/Copy and paste an existing tab/ or rearrange existing tabs. I have watched a few videos online about SSM, but they cover such a wide scope it's difficult to find the specific information I am looking for. 

Thanks for the assistance. 

0 Likes
Message 9 of 17

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Is it possible to attach some sample files to a Post?I am happy to look at how we might get the Sheetset  to set up the page numbers for you.

 

I will include some screen captures or prepare  a quick video of the steps.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 10 of 17

ara_neresesian
Collaborator
Collaborator

HI

Well I think you want to auto fill in that filed by layout display order , am I right ?

I mean if you are changing the layout position (layout order) for example  from 2 th  position to 3 th position ,

that filed number  must be change to 3 ,am I right ?

if you want something like this you have to use lisp and when you down your  all layouts  displaying order ,by running that lisp file, those filed will be same as your layout name, for example it will be 1 ,2 ,3,.... am I right ?

GOOD LUCK

 

Message 11 of 17

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

If you create a new layout or add a sheet or rearrange layouts then you would still have to adjust the numbers in the Sheet Set Manager. So, if this is not what you are looking for then you will need to find a plug-in or some LISP code to do this for you.

 

You might check the Autodesk App Store to see if there is something that works with your process.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 12 of 17

Ranjit_Singh
Advisor
Advisor
Accepted solution

Hi @Anonymous, see the LISP I put here a while ago. The OP had a title block and needed to number the sheet number based on layout position. I believe it should work in your case. See the screencast at that link and see if it makes sense.


Let me know if you run in any issues.

Message 13 of 17

Anonymous
Not applicable

I have attached a sample file of my template I've created. 
I've written on the layout tabs what I am trying to accomplish, please let me know if you need any additional information. 

I plan on trying the other solutions presented on this page as the week progresses. 

thanks 

-Russ

0 Likes
Message 14 of 17

john.vellek
Alumni
Alumni

Hi Russ,

 

I made a quick sheet set for your sample file.

 

You can see that I added Project name, address, client fields. This means you don't have to manually add this information on each sheet. In addition,  I imported the layouts and then used rename and renumber to add information which could be auto populated by fields on to each sheet.

 

As I pointed out however, to have the page numbers tied to the layout order, you will need an add-in or lisp routine.  I hope this shows you how the sheetsets might make some of the file properties more automatic.  Since the customer probably doesn't get the actual drawing file, you don't even really have to change your tab order as you can move them in Publish if necessary.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 15 of 17

Anonymous
Not applicable

worked for me in AutoCAD 2016, thank you.  

0 Likes
Message 16 of 17

Anonymous
Not applicable

its show in all pages same number


@ara_neresesian wrote:

hi

Type this in Diesel Expression box.

$(getvar,ctab)

and it will print your page name on that position.

Capture.PNG

If it is helping you please accept it as a solution

tank you


 

0 Likes
Message 17 of 17

Anonymous
Not applicable

I HAVE DOWNLOADED THIS FILE AND TRY TO ADD SOME LAYOUT SHEETS, BUT THE PAGE NUMBERING IS NOT CHANGING, 

IM USING AUTODESK 2018 STUDENT VERSION


@Anonymous wrote:

I have attached a sample file of my template I've created. 
I've written on the layout tabs what I am trying to accomplish, please let me know if you need any additional information. 

I plan on trying the other solutions presented on this page as the week progresses. 

thanks 

-Russ


 

0 Likes