Wednesday, July 30, 2008

Insufficient Privileges for API

We are experimenting with reducing the user privileges in Windows. If we make a user less than a Power User, Revit spits this warning while opening the software for the first time.

insufficient privileges

Doing exactly what is suggested in the warning dialog - login as admin; open and close revit; login as regular user - solves the issue.

However, certain pre-built User types in Windows restrict users from editing any files / folders in the C drive root directory (C:\) and anything inside the "C:\Program Files".  Because of our Revit.ini is sitting uncomfortably in the "C:\Program Files\Revit Architecture 2009\Program", Revit does not like it... (does not update the recent used files, etc.) Writing Journal files also is an issue. Opening up the folder "C:\Program Files\Revit Architecture 2009" to the user has worked so far.

Friday, July 25, 2008

Invisible constraints

Revit allows to constrain objects. One of the ways to constrain is to dimension the objects and then lock the dimension.

image

Revit also allows one to delete this dimension, after constraining, but keep the constraint. In such a case, when you highlight a constrained object, it shows the constraint in dashed green link with a padlock.

image

Right clicking on the padlock and selecting "Show Related" highlights the constrained objects.

image

So far so good. However, if you switch off the Constraints object in the Annotation category tab in the VG dialog box, Revit does not show any clues on the constrained element.

image

May be there are other unexplained invisible constraints. If so, you might be able to solve it using this wild goose chase.

Thursday, July 24, 2008

Cant make type error

Sometimes when we load a family into a project, Revit spits out a can't make type error and does not import anything.

family error

This error is typically caused because of "0" values in some of the parameters. For instance, if someone starts creating a family from a template and does NOT use some of the parameters like width. This family would be a non parametric family.  Revit assigns the value zero to these unused parameters but a Revit project cannot accept the zero value for certain parameters...(width, etc.) So, Revit does NOT load this family into the project.

bad parameters 

To rectify this, open the family and then the Design bar > Family types. In the dialog box, select the unwanted parameter and delete it. After deleting all these unwanted parameters, the family should load properly (and since the family is NOT parametric, deleting these parameters should not affect the family too.)

Tuesday, July 22, 2008

Half tone specific layers in linked CAD

In our office we don't model existing structures. We just use the CAD file to show the existing building for various reasons. We typically halftone the DWG to represent the existing phase. We do it in the VG > Imported categories.

image

While doing the Demo Plan, it gets tricky because we need to highlight the demo objects. Usually we place these objects in the Demo layer and make the linetype of this layer BOLD and DASHed. To show specific layers in different linetype/thickness, we cannot apply the Halftone at the DWG level. These have to be applied at the layer level. To achieve this,

  1. Uncheck the haltone box.
  2. Click on the plus + sign to reveal all the layers in the dwg.
    image
  3. Select all the layers with shift + click. and then select override to override all the layer colors to halftone.
    image
  4. After this, one can select specific layers (like our Demo layer) and override it with other linetypes / colors, etc.

Monday, July 21, 2008

Remove view names from Interior elevation tags

The Interior elevation tag in the default template in Revit shows the view name for some reason. As far as I know, most of the offices don't require this.

image

To change this, go to Settings menu > view tags > elevations tags. Then select the 1/2" circle type (which is the type used for interior elevations). Uncheck the 'Show view name' parameter.

image

When you hit apply, the elevation tag becomes:

image

To center the text, change the Text Position parameter to Outside center.

image

The elevation tag looks like this now:

image

It is better to make this modification in the default template, so that this setting need not be changed in new projects.