I'm trying to setup a named expression to, among other things, pull the sheet number from the plotted model and it's not working for me. I'm using the PrintDefinition.SheetNumber symbol but it only returns a value of "0" regardless of what number is set in the sheet number field of the model. Am I missing something or not understanding what that symbol is supposed to do?
PrintDefinition.ParentFolderName& IIf(System.String.Length(PrintDefinition.ParentFolderName)=1,System.String.Format ("{0:D3}", PrintDefinition.SheetNumber),System.String.Format ("{0:D2}", PrintDefinition.SheetNumber))&"-"&System.Path.GetFileNameWithoutExtension(PrintDefinition.SourceFile)
Here is the expression I have setup. It is using the parent folder name for a prefix and then setting the number of places for the sheet number based on if that prefix is only one letter or more. I just can't get it to actually pull the number from the sheet number in the model. If I use ActiveModel.SheetNumber it will find the number, but then it puts the same sheet number from the active model on all the names instead of the number that goes with the corresponding model.
I'm using V8i SS4 version. 8.11.09.829
Once the field has been setup and placed into each sheet (which can be done by copy and paste) then you can number all of the sheets with one operation, starting at any number you wish, using the Project Explorer. Ideally you would have that field put in when the sheets were created, but it wouldn't take all that long to copy that field into each sheet. Then you would have it all setup so if the sheet numbers ever need to change it would be easy to manage.
This is a problem when you need to number 200 sheets starting from 450.
Are you putting your sheet number for each sheet into this location on the model properties?
Whatever number you put in that spot and then use a field to point to that model property will show that sheet number. It's also best to have the "Update Fields Automatically" option turned on.
That will work for getting the page numbers on the sheets, but I'll couldn't get the Print Organizer to pull those number out to use in file names.
It didn't work for me. All sheets show the same sheet number.
I'm not sure what you mean by this. Linking to the sheet number field is getting the number stored in that field for that particular sheet model. You can have sheet models in different files if you wish though. To say it another way, each sheet model you would print stores it's own sheet number regardless of which file it's in. The benefit of doing it this way is you can manage all of numbers in one place by adding all of the sheet models in your set to the Project Explorer.