Results 1 to 5 of 5

Thread: Maximum & Minimum constraints

  1. #1
    I could stop if I wanted to Shaun v Rooyen's Avatar
    Join Date
    2005-02
    Posts
    337
    Login to Give a bone
    0

    Default Maximum & Minimum constraints

    Is it possible to create an instance Length parameter that has maximum and minimum constraints.
    I want to be able to drag the length of a BIC to fit into a space, if the length exceeds lets say 1,5m it no longer can stretch. I then know I have to start the next module.

  2. #2
    Revit Mararishi aaronrumple's Avatar
    Join Date
    2002-02
    Location
    St. Louis, MO
    Posts
    4,695
    Login to Give a bone
    0

    Default Re: Maximum & Minimum constraints

    Should be able to do it with an if statement....

  3. #3
    I could stop if I wanted to Shaun v Rooyen's Avatar
    Join Date
    2005-02
    Posts
    337
    Login to Give a bone
    0

    Default Re: Maximum & Minimum constraints

    Aaron, thats what I thought at first. But it keeps creating a "circular chain of references"

  4. #4
    I could stop if I wanted to Mike Hardy-Brown's Avatar
    Join Date
    2004-09
    Location
    Melbourne, Australia
    Posts
    282
    Login to Give a bone
    0

    Default Re: Maximum & Minimum constraints

    Zeds,

    On your max constraint you need to collapse the instance with the "if" formula.
    ie, IF length > xmm, then length = 0
    So either collapse it horizontally or vertically.
    If this is on the previous shelf, then I will get cracking on it today.

    Cheers

  5. #5
    AUGI Addict PeterJ's Avatar
    Join Date
    2003-04
    Location
    London, UK
    Posts
    1,948
    Login to Give a bone
    0

    Default Re: Maximum & Minimum constraints

    Can't you do it the other way and and have a limiting length entered in the formula column?

    You would have three parameters:

    Entered length - where people enter a number
    Actual length - the one used by the family created by the formula: if entered length>Constrain length, then constrain length, else entered length.
    Constrain length - set by entering in the formula column.

    You make your Entered length the one attached to a ref plane that the user can grab a shape handle and you don't expose the Actual length to the rvt file, i.e. it defines the geometry directly not via a ref plane.

    You have to go round the houses a little further with the same concept to make a minimum constraint too.

    I think that works, but I don't have Revit here to check.

Similar Threads

  1. Replies: 1
    Last Post: 2015-10-12, 03:51 PM
  2. CM333-1: Maximum Training: Minimum Effort
    By Autodesk University in forum CAD Management and IT
    Replies: 0
    Last Post: 2015-08-07, 04:06 PM
  3. CP21-1L: Rapid Customizing: Minimum Pain, Maximum Gain
    By Autodesk University in forum Customization and Programming
    Replies: 0
    Last Post: 2013-04-17, 04:18 AM
  4. Replies: 2
    Last Post: 2012-08-04, 05:57 AM
  5. 2011: Multiple stretch distances need minimum/maximum dimensions
    By RapidCAD in forum Dynamic Blocks - Technical
    Replies: 0
    Last Post: 2012-06-08, 07:09 PM

Posting Permissions

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