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 ))
Re: Constraints for Length
the length_userinput would be a constraint or dimension?
1 Attachment(s)
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.
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.)
Re: Constraints for Length
Quote:
Originally Posted by
awinkler514194
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?
Re: Constraints for Length
Quote:
Originally Posted by
CADastrophe
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!
Re: Constraints for Length
Quote:
Originally Posted by
awinkler514194
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.
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.