BILT Speaker

BILT Speaker
RevitCat - Revit Consultant
Showing posts with label size. Show all posts
Showing posts with label size. Show all posts

Tuesday, 15 June 2021

Family Types Dialog Column Widths in Revit

Does anyone find trying to control the column width in the Family Types dialog box annoying?

The "Lock" column in particular, has been driving me mad for the last 16 years!

About 7 or 8 years ago (?), Autodesk made a partial improvement to that dialog box: 

  • Revit remembers the size of the dialog box when you open or close the dialog - previous to that it always reset to a small default size & layout.  
  • However, it still behaves in an unpredictable way, which is intensely irritating.

I just discovered a trick that helps to get around the problem - so I spent a while analysing exactly what is going on:

Family Types Dialog Box Size Behaviour

  • When you close the Family Types dialog, and subsequently reopen it, Revit remembers the overall size and location of the dialog box.
 
  • This also happens between sessions:  When you close Revit, the next time you start Revit, it remembers the size and location of the dialog box.


Family Types Dialog Column Widths Behaviour

If you adjust the column widths in the dialog box:

  • When you close the Family Types dialog, and subsequently reopen it, Revit remembers the widths of the columns in the dialog box (even if you are editing a different family).
  • Not so between sessions:  When you close Revit, the next time you start Revit, it RESETS the widths of the columns in the dialog box to defaults below (albeit within saved overall width).

Default Column Widths:

    • Parameter = 26%
    • Value = 22%
    • Formula = 40%
    • Lock = 12%

Adjusting Column Widths

If you adjust the column widths, it follows strange and annoying rules:

  • Adjust between Parameter/Value:  It changes Parameter and Lock Column widths
    • This is not helpful as the lock column is wasted space!

  • Adjust between Value/Formula:  It changes Value and Lock Column widths
    • Even less helpful as the Lock column gets enormous

  • Adjust between Formula/Lock:  It changes Formula and Lock Column widths

When adjusting Formula/Lock columns, be careful:

  • If the right-hand "Lock" column vertical line disappears, it means the Lock column no longer fits in the overall width - this will cause much irritation (see below)
  • This makes a horizontal scroll bar appear at the base of the dialog box - yuk!
  • If you subsequently put the cursor anywhere in the "Value" column, as soon as you type a value and press enter, your dialog box may do a "crazy leprechaun dance"*
    • The focus moves into the Formula Column
    • In its infinite wisdom (/stupidity), Revit wants to display the column to the right in full - so it moves to show the whole of the Lock Column
    • You will probably no longer be able to see the Parameter name and/or Value

[*NB. this is what the first iteration of the ribbon menus in Revit 2010 was referred to as doing]

NB. This does not always happen - I think it depends on the overall dialog box width and the Lock Column width


Clever Trick

I only discovered this a couple of days ago:

  • Adjust the Formula/Lock column widths as close as you can to desired

  • Select the right-hand vertical line of the Lock column, drag it to the left until the cursor aligns with check-box
    • Nothing appears to happen
    • However, in its mind, Revit is actually making the column width smaller (it just doesn't show the change)

  • Adjust the Formula/Lock column widths again - to the right
    • it lets you get the Lock column width much smaller (without losing the right-hand line)
  • You can make the Lock column tiny - check-boxes will shrink

Once you have made the Lock column very small - it remains proportionally small when you increase the dialog box size - which is really useful.

Workaround to Avoid the Problem

If you always follow these rules, you are less likely to have a problem:

1.  Adjust your dialog box size to exactly what you will need for the entire Revit session - so if you are working with formulas a lot, then allow for a large width

2.  Adjust the column widths in this order:

  • Parameter/Value  <

  • Value/Formula  <
  • Formula/Lock (keep the right-hand line visible) - move to the right  >
  • Right-hand side of Lock column - move it to the left  <
  • Formula/Lock again - move to the right  >


3.  Make sure you never have the horizontal scroll bar visible 

  • If you ever adjust the Parameter or Value column widths, check the right-hand side of the lock column title - make sure it is visible (and no scroll bar).


Conclusion

If anyone tells me that they have known about this for years, I'd like to know why they never informed me before!


If you would like Autodesk to fix this problem, please go to Revit Ideas and vote for the wishlist item that Dave Plumb recently posted.






Friday, 27 March 2020

Revit Tags Label Extents and Leaders

One of the things that always annoys me in Revit is the hardcoded spacing or sizes of certain elements or settings.  These include such things as:
  • Default extension of grid lines and levels beyond a cropped view on a sheet - this appears to be just over one inch on the sheet (I was expecting it to be exactly one inch = 25.4mm).
    Why oh why does it have to be so big - all that wasted paper on plots;  or wasted time adjusting each one manually.

  •  Tag Leader Offsets - it seems the leaders go to the opposite extreme, being really tight in to the text.  If your boss does not like that graphic, you are in trouble.
 


Text Leader Offsets

A few years back, Autodesk actually solved a similar issue for text in Revit - although with text, prior to that the leaders had a locked in 2.032mm offset, which was equally irritating.

In Revit version 2011, Autodesk added the parameter "Leader/Border Offset", which gave us the ability to control how far the leader started from the text (even when no border was applied to the text).

Default text leader offset = 2.032mm
  • If you want the leader closer in, just change the offset to 0.5mm or 0mm

Zero mm text leader offset
 
  • If you want the leader further away, change the offset to something larger

Text leader offset 3.5mm
  • You can also add a border, which matches the leader offset exactly


The default offset in all the Autodesk templates is still 2.032mm, which is way too big.  Likewise in all projects that were upgraded in v2011, it set the value to 2.032mm.

I wonder how many BIM Managers around the world actually went in and set the value to a sensible number?  I like it to be say 0.5mm, but some people like 0mm.

Tag Leader Offsets

Sadly, Autodesk never finished that task (now where have you heard that before?).

Text labels inside tags do not follow these rules – leader offset makes no difference unless the tag-label has a border enabled.
Without a border, the leader just uses the extents of the tag family, and it considers tag-text with no border to have an offset of zero regardless of what it is set to.

For some reason the vertical and horizontal offsets are not consistent. If the leader is pointing up or down the offset is visually acceptable, but when it is left or right it is just a bit too small an offset, and looks wrong. 

  • With no border and a large leader offset the leader is tight in to the text label
Tag label leader 3.5mm no border
Tag label leader 3.5mm no border

  •  With a small leader offset the leader is still tight in to the text label
Tag label leader offset 0mm no border
  •  The tag looks exactly the same (no leader offset)
Tag label leader 3.5mm no border


  •  As soon as you add a border, the leader offset matches that border (as per text)
Tag label leader 3.5mm



This is yet another little inconsistency in Revit to irritate you. 

Does anyone know a way to address this?

Nasty Workaround

I hate to suggest this, but if your job depends on it you could try adding a border to the tag label and make it white, so it does not show on a plot/pdf (in label Type properties).  Interestingly, the text remains black.


But we all know what kind of trouble that might cause later on . . .