Revit Viewport Renumber

I review many of the Revit models for the different projects in the office and one common thing I see is that views are not numbered in any logical order on a sheet.  It’s likely that the team just threw a bunch of views onto a sheet just to have the content there and intended to get back to it in order to clean up the organization and numbering in addition to any annotative tasks.   The problem is the renumbering is such a low priority it’s often left to the very end of a project when the team is already under heavy load just to get the project delivered on time.

It was one such project that I was reviewing just as they were nearing finishing construction documents and had a list of additional tasks for the team that was already quite busy.  In an attempt to make this one task at least a little easier I spent a little time writing a plugin that I could hand off to the team to renumber views more quickly.

There’s not much of an interface for this one, you simply go to a sheet and run the command.  It will then go into a selection mode asking you to “Pick viewports in the desired order.”

Renumber Views

 

Then you go through and pick the viewports in the order you want them renumbered.  The selection occurs in a loop because the group selection options via the Revit API tend to order the selection by ElementID and not picked order.  Because of this you need to hit the Esc key once to move from selection mode to the next stage where you set the starting number and increment (step size).

Renumber Views_Settings

 

This is the only UI to the command and it lets you specify the starting number and the step size.  It can increment the number forwards or backwards, but currently only works with numbers, no alpha or special characters yet.  Once you’re happy with that click OK to renumber the views.  You will get an error if you try to number a view to an existing number that’s not part of the selection set.  So if you have 10 views, but are only renumber 5 of them, you can’t use any of the numbers used by the other half.

[download id=41]

 

[download id=40]

 

[download id=47]

Category

7 comments

  • Ewan

    Hi,
    This plugin is great! Do you think that it could also include the ability to use the new numbers to rename the corresponding views in the project browser?

    Regards,
    Ewan

    Reply
    • Tim Logan

      It’s definitely doable, and something I can add if there’s enough interest. I just don’t want to start adding features that some people want but will disrupt others. Like would it just set a prefix of the number in the view name, would it use some custom parameter to store the detail number that the browser is being sorted by, is it optional?

      Right now it’s still pretty rough. I threw this one together in a short period of time and I know that it needs some work, like adding the ability to use or include letters in addition to the numbers.

      Reply
  • rndpis

    Hi,

    When we have placed the addin and .dll file for Revit Viewport Renumber & Revit No Plot tool in the specific location (C:ProgramDataAutodeskRevitAddins2013) with changing the add-ins file, we can see only one tool (View Renumber) in the Revit interface. So please suggest in this issue. Can you please provide us the help file for the tools.

    Regards,
    RNDPIS

    Reply
  • Tim Logan

    The No Plot addin was one of the earlier ones I created and it didn’t have any checks in place to find out if the LMN tab existed or not, so when it’s installed it just tries to create it. If one of our other plugins was already installed then it would fail to create the tab, panel and buttons. I’ve uploaded some new versions of the No Plot for 2013 and 2014 that should resolve the problem.
    -Tim

    Reply
  • rndpis

    Hi Tim Logan,

    Thanks for your reply.

    Can you please share us the link from where we can get the updated versions. One more thing that there is any way to get the tutorial for the tools (Revit Viewport Renumber & Revit No Plot)

    Regards,
    RNDPIS

    Reply
  • Jesse Pointon

    Having trouble loading the view renumber app in 2015 – I get an error: System.IO.FileLoadException
    Could not load file or assembly.

    any ideas? Would love to have this add-in again, loved it in 2014.

    Reply
    • Tim Logan

      If you are sure the files are in the right place you may have to unblock the DLL before you can use it. Right-click on the file and go to the properties. If there’s a button named Unblock in the general page, click it to unblock the file. Should run after that.

      Reply