Results 1 to 2 of 2

Thread: Instance Parameters in Family Formulas.

  1. #1
    AUGI Addict Scott Hopkins's Avatar
    Join Date
    2003-05
    Location
    Santa Barbara, CA
    Posts
    1,197
    Login to Give a bone
    0

    Default

    Have you ever gotten this error message?

    "Can't define or use Instance Parameters in formulas."

    Why would you want to use an instance parameter in a formula you may ask? I am doing a custom home with all custom windows. Because the windows are custom they can be designed to any size I want. I created a window family with instance based height and width parameters so I can quickly adjust them in the model.

    Now my problem arises because I also want to create an area parameter so that I can include areas on the window schedule to show compliance with the Energy code. When I try to use the instance based parameters in the area formula I get the above error message.

    Am I missing something? Is there a reason why using instance parameters in formulas would cause the whole programming house of cards to fall down? Can anyone think of a work-around besides changing the window family back from an instance to a type based family?

  2. #2
    Autodesk Revit CSE
    Join Date
    2003-05
    Location
    New York, NY
    Posts
    42
    Login to Give a bone
    0

    Default Re: Instance Parameters in Family Formulas.

    Scott,

    The way that I would approach getting the areas for the windows in your schedule is by using shared parameters.

    I created a shared parameter called area. (I am using a shared parameter because I want the area parameter to appear in my schedule)

    If you’re not familiar with shared parameters I would look at the tutorial in revit: select help / tutorials / project documents / Shared parameters and Multi-category Schedules.

    Open the family window.rvt within the family types, I have added the shared parameter area and then added formula to area (Width*Height). So for every fixed window type I will now have the area value for all window types.

    Load the family (window.rvt) into a project, create a window schedule.

    See attached zip file with family file Fixed_area.rfa shared parameter file window.txt and sample project window.rvt.

    Any other opinions / solutions?
    Attached Files Attached Files

Similar Threads

  1. 2013: Link family parameter formulas to project parameters
    By bhollon in forum Revit MEP - General
    Replies: 2
    Last Post: 2014-04-25, 05:04 PM
  2. Door Family - Parameters to be instance or type ?
    By Munkholm in forum Revit Architecture - Families
    Replies: 3
    Last Post: 2009-02-11, 11:54 AM
  3. Instance Parameters in an Annotation Family
    By dlancor in forum Revit Architecture - General
    Replies: 3
    Last Post: 2007-05-30, 06:21 PM
  4. View Specific Family Instance Parameters
    By crarchitect in forum Revit Architecture - Families
    Replies: 9
    Last Post: 2006-06-29, 09:07 PM
  5. Instance Parameters in formulas
    By Scott Hopkins in forum Revit Architecture - Wish List
    Replies: 3
    Last Post: 2003-08-27, 06:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •