debodine
Electrical
- Sep 23, 2004
- 608
Our SW templates and sheet formats contain this note on sheets 2 and subsequent of our drawing format, which is straight from SW Help and it works great:
SHEET $PRP:"SW-Current Sheet" OF $PRP:"SW-Total Sheets" and that results in a display of "SHEET 2 of 2" as intended because our standard drawing template automatically contains a sheet 1 with full border and a sheet 2 (copyable as sheet 3, 4, 5 etc.) with abbreviated border.
However, our engineering VP has another non-standard method he wishes to use for SW files. In our new drawing world as he envisions it, not every file will start with sheet 1. For the purposes of my question, just accept this. I can't change his mind.
Now to the specific question. I created a custom property $PRP:"First_Sheet" which allows the CAD person to enter in the Custom Properties the desired sheet start number. Let's use sheet 24 for this example.
What I need the note above to do is to add this "First_Sheet" value to the note to arrive at the correct numbers. For example (I know this syntax does not work, but this is the functionality I need), what the Note must do is:
SHEET $PRP:"SW-Current Sheet" [PLUS the value of First_Sheet] OF $PRP:"SW-Total Sheets" [PLUS the value of First_Sheet]
My functional additions are in [ ] brackets. In this example starting with sheet 24, then the second sheet would say instead of SHEET 2 OF 2 it would say SHEET 25 OF 25. If a third sheet was added it would say SHEET 26 OF 26 and the second sheet would change to SHEET 25 OF 26.
My bottom line question is this: does any of the forum membership know of a syntax to accomplish this? FYI I am very willing to break the note into multiples to be able to add the value of "First_Sheet" to any appropriate other value. But I am not sharp enough in SW to figure this out from my miniscule knowledge of how the custom property function is coded in SW.
SHEET $PRP:"SW-Current Sheet" OF $PRP:"SW-Total Sheets" and that results in a display of "SHEET 2 of 2" as intended because our standard drawing template automatically contains a sheet 1 with full border and a sheet 2 (copyable as sheet 3, 4, 5 etc.) with abbreviated border.
However, our engineering VP has another non-standard method he wishes to use for SW files. In our new drawing world as he envisions it, not every file will start with sheet 1. For the purposes of my question, just accept this. I can't change his mind.
Now to the specific question. I created a custom property $PRP:"First_Sheet" which allows the CAD person to enter in the Custom Properties the desired sheet start number. Let's use sheet 24 for this example.
What I need the note above to do is to add this "First_Sheet" value to the note to arrive at the correct numbers. For example (I know this syntax does not work, but this is the functionality I need), what the Note must do is:
SHEET $PRP:"SW-Current Sheet" [PLUS the value of First_Sheet] OF $PRP:"SW-Total Sheets" [PLUS the value of First_Sheet]
My functional additions are in [ ] brackets. In this example starting with sheet 24, then the second sheet would say instead of SHEET 2 OF 2 it would say SHEET 25 OF 25. If a third sheet was added it would say SHEET 26 OF 26 and the second sheet would change to SHEET 25 OF 26.
My bottom line question is this: does any of the forum membership know of a syntax to accomplish this? FYI I am very willing to break the note into multiples to be able to add the value of "First_Sheet" to any appropriate other value. But I am not sharp enough in SW to figure this out from my miniscule knowledge of how the custom property function is coded in SW.