Results 1 to 7 of 7

Thread: Formula for area input parameter

  1. #1
    Member
    Join Date
    2011-11
    Posts
    2

    Question Formula for area input parameter

    anyone knows if its possible to create a family that contains a mass box that has an input option of area. let's say I need a base area of 200 sf. so I input the area then one dimension (whether its length or width) and revit would automatically find the other dimension and create the box.

    this could be very useful for conceptual programming phase.
    thank you in advance!

  2. #2
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    6,700

    Default Re: Formula for area input parameter

    Create the family with length, width, and area parameters. Area and Length (for example) will be input, and Width will be calculated. Add a formula to the Width field that looks like = Area / Length and you'll be ready to go.

    To make it simple during programming, make all 3 parameters as instance parameters. That way you can push/pull the boxes as you place them around on your plan view.
    Intern Architect, BIM Manager/Coordinator
    AERC, PLLC
    Hernando, Mississippi

    Revit - all up in your voxel space

  3. #3
    Member
    Join Date
    2011-11
    Posts
    2

    Default Re: Formula for area input parameter

    Quote Originally Posted by patricks View Post
    Create the family with length, width, and area parameters. Area and Length (for example) will be input, and Width will be calculated. Add a formula to the Width field that looks like = Area / Length and you'll be ready to go.

    To make it simple during programming, make all 3 parameters as instance parameters. That way you can push/pull the boxes as you place them around on your plan view.
    Thanks for a prompt reply!

    I added three parameters named Length Width and Area, I assigned the rite properties for each. I made them instance parameters.

    now when I'm inputting the formula ( =Area / Length) I'm getting a window saying (Division by zero)

    What's that?

    Note that I started a family and chose Mass as a template.

  4. #4
    All AUGI, all the time Alex Page's Avatar
    Join Date
    2003-07
    Location
    Wellington, New Zealand
    Posts
    793

    Default Re: Formula for area input parameter

    Is is as simple as your Length Parameter = 0? If so then the error mesage is as expected, since you cant divide by zero. Change the Length Parameter to be something else
    Alex Page
    RevitWorks Ltd
    Check out the Door Factory, a door maker add-in for Revit

  5. #5
    Member rakelar's Avatar
    Join Date
    2011-05
    Location
    Florida, USA
    Posts
    8

    Smile Re: Formula for area input parameter

    any chance that you can share that family ?? been looking for that tool from the beggining of time..

    a treat, attachd
    Attached Files Attached Files
    Last edited by rakelar; 2011-11-10 at 10:03 PM. Reason: attaching a gift
    About 8 months of using Revit

  6. #6
    Woo! Hoo! my 1st post
    Join Date
    2011-04
    Posts
    1

    Default Re: Formula for area input parameter

    I am looking for the same thing. I am in schematic design phase. The client would like a 90,000 sf building. We know to achieve optimal daylighting and multi tenant space planning we want the building width to equal 90'. The length and building height are variable. I could go 4 stories at approx. 250' long or 3 stories at approx. 350'. I also know I need 15' floor to floor. Is this even possible to do in REVIT? To keep the width and an overall square footage constant as the building gets taller and longer/shorter? I am using 2011.
    Last edited by paul_rich252205; 2011-11-29 at 01:52 PM.

  7. #7
    Member rakelar's Avatar
    Join Date
    2011-05
    Location
    Florida, USA
    Posts
    8

    Default Re: Formula for area input parameter

    use the attached mass in post below .. I am sure another parameter could be added for volume.. !! input only one parameter while other side is fixed....
    The attached mass is 'mickey mouse' but helped me a lot !!
    About 8 months of using Revit

Similar Threads

  1. Parameter formula
    By Bryan Thatcher in forum Revit Architecture - General
    Replies: 1
    Last Post: 2010-07-21, 05:48 PM
  2. Invalid Parameter Input
    By elaforge in forum Revit MEP - Families
    Replies: 0
    Last Post: 2010-06-24, 02:46 PM
  3. Formula within parameter
    By Katika in forum Revit - Platform
    Replies: 7
    Last Post: 2008-09-25, 07:11 AM
  4. Area Formula
    By bgauthier in forum Revit Architecture - General
    Replies: 4
    Last Post: 2007-07-05, 04:27 PM
  5. Can I input a formula in AutoCAD???
    By jhohman in forum AutoCAD General
    Replies: 4
    Last Post: 2004-07-07, 10:56 PM

Tags for this Thread

Posting Permissions

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