Results 1 to 9 of 9

Thread: Constraints for Length

  1. #1
    Member
    Join Date
    2012-09
    Location
    Pittburgh, PA
    Posts
    49
    Login to Give a bone
    0

    Default Constraints for Length

    I need to place constraints on a length of metal panel and I can not for the life of me create a parameter that will work. What I need the parameter to do is the Length of the Panel can be as long as 30'-0" and as small as 1'-6" but I can not make it so that if the panel is say fifteen that it will stay that way. What am I doing wrong? Or am I using the wrong parameters I usually use dimensions and constraints so. I think I have tried hundreds of formulas and none of them work.

  2. #2
    All AUGI, all the time CADastrophe's Avatar
    Join Date
    2012-01
    Location
    Site of the next CADaclysm
    Posts
    813
    Login to Give a bone
    0

    Default Re: Constraints for Length

    You would need to create two parameters to define a valid range for the value. One parameter would be the user-inputted value, and the other parameter would be the true value, which would have the following formula:

    if(Length_UserInput > 30', 30', if(Length_UserInput < 1' 6", 1' 6", Length_UserInput ))

  3. #3
    Member
    Join Date
    2012-09
    Location
    Pittburgh, PA
    Posts
    49
    Login to Give a bone
    0

    Default Re: Constraints for Length

    the length_userinput would be a constraint or dimension?

  4. #4
    All AUGI, all the time CADastrophe's Avatar
    Join Date
    2012-01
    Location
    Site of the next CADaclysm
    Posts
    813
    Login to Give a bone
    0

    Default Re: Constraints for Length

    Nope. The sole purpose of that parameter is to allow the user to input the desired length. The second Parameter (with the formula) is tied to the contraining dimension. See attached example.
    Attached Files Attached Files

  5. #5
    Member
    Join Date
    2012-09
    Location
    Pittburgh, PA
    Posts
    49
    Login to Give a bone
    0

    Default Re: Constraints for Length

    ok. so I understand that but how do I make it so that the formula can not be changed about an outside source.
    (sorry everything about that I know is self taught.)

  6. #6
    All AUGI, all the time CADastrophe's Avatar
    Join Date
    2012-01
    Location
    Site of the next CADaclysm
    Posts
    813
    Login to Give a bone
    0

    Default Re: Constraints for Length

    Quote Originally Posted by awinkler514194 View Post
    ok. so I understand that but how do I make it so that the formula can not be changed about an outside source.
    Sorry, I don't exactly understand what you mean. You wish to prevent changes to the formula from an "outside source"; do you that mean you want to stop other users from being able to open the family and change the formula?

  7. #7
    Member
    Join Date
    2012-09
    Location
    Pittburgh, PA
    Posts
    49
    Login to Give a bone
    0

    Default Re: Constraints for Length

    Quote Originally Posted by CADastrophe View Post
    Sorry, I don't exactly understand what you mean. You wish to prevent changes to the formula from an "outside source"; do you that mean you want to stop other users from being able to open the family and change the formula?
    yes that's what I want.Thanks!

  8. #8
    All AUGI, all the time CADastrophe's Avatar
    Join Date
    2012-01
    Location
    Site of the next CADaclysm
    Posts
    813
    Login to Give a bone
    0

    Default Re: Constraints for Length

    Quote Originally Posted by awinkler514194 View Post
    yes that's what I want.Thanks!
    Unfortunately, that's not possible. There is no mean of protecting a family or its contents at the moment, that I am aware of.

  9. #9
    All AUGI, all the time davidcobi's Avatar
    Join Date
    2005-03
    Location
    Greater Los Angeles
    Posts
    546
    Login to Give a bone
    0

    Default Re: Constraints for Length

    You could put the formula in a nested family and name the nested family the same as the host family. A user would have to know to rename the nested family in order to get it to open in the same session of Revit as the host family. A deterrent but not a true lock.

Similar Threads

  1. Arc length??? Any way to draw to an exact length?
    By fhoffnar in forum AutoCAD General
    Replies: 12
    Last Post: 2020-10-15, 03:08 PM
  2. 2014: Forcing a Length to be greater than another length
    By kmarquis in forum Revit Architecture - General
    Replies: 1
    Last Post: 2015-07-16, 11:56 PM
  3. IFC - how to export length instead of cut length on framing
    By cze.marty950367 in forum Revit Structure - General
    Replies: 1
    Last Post: 2012-03-22, 10:21 AM
  4. Draw an ARC by length, not cord length
    By melanie.santer in forum AutoCAD General
    Replies: 5
    Last Post: 2006-03-21, 04:35 PM
  5. Constraints: Sightline Based Constraints
    By ronjon in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2005-01-11, 02:40 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
  •