BILT

BILT
Speaker

Friday, 14 April 2017

Revit Dialog Box Shortcut Keys

I was recently doing a very repetitive task on a Revit dialog box - it involved changing the order of many View Filters in the View Template dialog box (Filters tab).  This list of added filters does not sort alphabetically - the dialog box has no means to do so because the filters are applied in order, which means you don't want it to sort automatically.

In the process I decided to check if there are any keyboard shortcuts for the 'Move Up and Down' commands.  Yes, there are indeed some hidden keyboard shortcuts. This can be very useful as you can keep your finger on the key for multiple moves, unlike using the mouse, which requires a click for each move (a sure recipe for RSI):

[Edit] After further testing prompted by comments by 'infeeeee' I have realised it is simpler to use than I first thought.  I knew about the Alt key shortcuts that work on the ribbon (or Keytips as the Autodesk helpfile refers to them) - but I was not aware that they also work on some dialog boxes.  I have amended the instructions below accordingly.

Here is how it works:

View Filter tab View Template dialog box



The command icons will show the keyboard shortcut underlined if you press the Alt key (as shown above).
  • First select the filter in the list
  • Then get the focus onto the icons for up/down by pressing the Tab key, or by clicking on one of the up or down icons
  • Then use the following single key shortcuts:

D = Add

R = Remove

U = Up

O = Down

E = Edit

Esc = Cancel
  • Alternatively, you can press the Alt key + a shortcut key, which negates the need to get the focus onto the command icons in the first place (much easier)


Line Styles Dialog Box


N = New (Subcategory)

D = Delete

R = Rename

I = Invert


Fill Patterns

Although the keyboard shortcuts are programmed, the Tab key does not put the focus onto the icons, so you cannot use the keyboard shortcuts that way. However, the Alt key works like a charm.

N = New

E = Edit

D = Delete

U = Duplicate

R = Drafting

M = Model

Even the Modify and New Pattern dialogs have their own key tips:
 



Line Patterns 

Line patterns work the same way as the Fill pattern dialog - you have to use the Alt key combination as you can't get the focus to move using the tab key (except at the end of the list)


N = New

E = Edit

D = Delete

R = Rename



Family Editor ‘Family Types’ dialog box.


Some keys are programmed (weirdly) but it is hard to get the focus onto the icons. It is best not to use this because it is too easy to put the focus back into the parameter values and you get into all kinds of trouble changing values and formulas. However, it should be ok to use this with the Alt Key combination.

G = Manage Lookup tables

C = Sort reverse alphabetically

D = New parameter

M = edit

N = New type

R = Rename type

S = Sort alphabetically

U = Up

W = Down


Global Parameter Dialog Box

Yes, the keys are programmed here too - but it is way too dangerous to use, so I won't even list them.  Just as an example, D = Delete (now that is scary because D means new parameter, or Add on other dialog boxes).  In addition to that, it is tricky to get the focus onto the command icons, and to keep it there, so the chances of wiping out a value or a formula are quite high.

[Thanks to 'infeeeee' for the comments that helped me to improve this blog post]

Tuesday, 4 April 2017

Transferring Global Parameters Between Revit Projects

In preparation for my upcoming presentation 'Power to the People - Global Parameters' at BILT ANZ 2017 in Adelaide (2.3 at 1.30pm Friday 26 May), I have done some in-depth analysis of how Global Parameters work. I don't want to spend too much time during the presentation on the nuts and bolts as there is much more exciting stuff to look at with what Global Parameters can achieve - so I plan to publish some of that research here . . . .

. . . . .Starting with how to copy Global Parameters between Revit projects:

There are two ways to achieve this, with varying results.

Transfer Project Standards

From v2017 it is possible to copy Global Parameters between projects  using the 'Transfer Project Standards' function.   However, it is 'all or nothing', as per usual for this feature - it copies every single Global Parameter in one project to the other one, along with all the values and formulas.  So it is like applying a sledgehammer - you could transfer two hundred parameters when you only want two. 


  • It does not copy any associations between modelled elements and Global Parameters - these would have to be re-associated to elements in the new project.
  • NB. If there are any materials selected for any material type global parameters, the materials will be transferred too.
  • If Global Parameters already exist in the project (with the same names), Revit will ask if you want to overwrite them - it will overwrite both values and formulas.
    Be careful not to lose any values or formulas if the names happen to be the same by coincidence.

Copy & Paste

Copy & Paste of elements between projects will also transfer any associated Global Parameters. This will in turn bring with it any formulas included in those Global Parameters, and any further GPs referred to within those formulas. This does not guarantee that the whole GP relationship will necessarily work properly once copied because there could be GPs that rely on such things as reporting parameters driven by dimensions that were not copied.

  • The benefit of this method is that it only brings with it the Global Parameters associated with the elements that you want to copy anyway.
  • It also maintains any associations between selected elements and Global Parameters.
If identically named Global Parameters already exist in the project:
  • It does not copy/overwrite existing Global Parameters
  • If the Global Parameter values and formulas are the same, it maintains them, and maintains the element associations to the Global Parameters.
  • If the Global Parameter values and formulas are different it will try to maintain associations, but using the new values - if this causes significant changes it will warn you that it needs to break the associations

Conclusion

Use whichever method best suits your purpose:
  • If you want to overwrite Global Parameters, use 'Transfer Project Standards - but it copies all your Global Parameters.  You may need to transfer them to an intermediate blank project, then delete the ones you don't need, keeping only the ones to transfer - then transfer those into the final destination project.
  • If you want to maintain associations with elements, or only want to copy specific Global Parameters - use Copy and Paste.