Hello,
Has/does anyone know how to create a parameter on plot sheets that will count up the number of sheets in the entire set?
"Sheet A2.1 of (XX) sheets"
|
|
|
Hello,
Has/does anyone know how to create a parameter on plot sheets that will count up the number of sheets in the entire set?
"Sheet A2.1 of (XX) sheets"
It cannot be done automatically. If you want to do it you can put the parameter in, but youll have to manually count up the sheets and update it in the titleblock.
We changed our template to have the set issuance be a 1 or 0 instead of an X. Then just calculate total and you have you're sheet count per issue. This is a drawing sheet parameter, and a new one would need to be added for each issuance.
I hope this helps,
Jeff S.
Seems like it would not be to difficult to create a macro/add-in that would loop through all the sheets with a counter and then inject that counter into a sheet parameter.
Any volunteers?
Well here goes build 1.01
Copy both files to c:\temp (Its hard coded at the moment but I will fix this)
Add this to your Revit.ini file
[ExternalApplications]
EACount=?
EAClassName?=SheetCounter.SheetCount
EAAssembly?=C:\temp\SheetCounter.dll
You will need to substitute the ?'s for the number of external applications you have loaded.
So far this little app will:
1. When you create or open an existing document it will add three shared parameters to the sheets.
2. On document opened it will count how many sheets there are in the project and put that value in one of the shared parameters on each sheet.
3. When you save the document after you add a sheet or delete a sheet it will re calculate the total sheet number.
4. You can toggle weather to include sheets in the count. Save your drawing again to refresh the count.
5. At this stage I do have it calculating the actual sheet number in the series although if you reorder the sheets it doesn't calulate them correctly (yet). At the moment it gets the sheet number by the order they are created. I have disabled this in this build untill I get it working correctly.
6. You can now use these shared parameters in your titleblock family.
Let me know what you think.
Regards
Phillip Miller
PS. You will have to unzip the dll file to c:\temp
Last edited by Phillip_Miller; 2009-08-09 at 10:26 AM. Reason: Removed Attachments. New build coming
Phillip, is this a 2010 Dll or a 2009 Dll, or does it work with both?
Great work Phil.
Always wanted to have this feature. Can't wait to see how this progresses
Mark
could you PLEASE make one for 2009? I desperately need this numbering and I have 2009
Thanks for sharing!!!!