I wanted to know it is possible to compare parameters to each other in schedules and have it be conditionally formatted to show you that a value is less than or greater than to another parameter. Something similar to excels conditional formatting as shown below.
Image from Excel with conditional formatting.
Solved! Go to Solution.
Solved by iainsavage. Go to Solution.
If I remember correctly you can't directly compare two parameters to apply a conditional format but you can create a calculated parameter and use a test formula to compare the two values and then apply a format to the test parameter.
This is the help topic for conditional formatting:
https://help.autodesk.com/view/RVT/2024/ENU/?guid=GUID-AA4D5759-AF09-466C-85A1-F0D1F8299584
I went back to an old project to refresh my memory and found a slight improvement.
You can use a different column from the formatted column as the test so in my example you can use the test column to determine the conditional format for the Actual Supply Airflow:
Then you can make the test column a hidden field:
Then you get something like this:
Ahhhhhh, ok, so there's a bit a trickery and manipulation to achieve this. Let me give this a shot. Thanks for the response.
I got this working. Thank you @iainsavage.
I am now attempting this with a text parameter but I get this message
ID Instance and Mark are both text parameters.
Attempt 1
Attempt 2
I don't think you can use Boolean comparisons with text values.
If you want the Mark value to equal the ID Instance value or vice versa then you would probably be better using Dynamo to get the value of one parameter and then apply that value to the other parameter.
Or I think you can use the Reordering tool in DiRoots One addon to do that with a rule based option (need to test that theory or ask them).
For most parameters, in the family you can use a formula such as Parameter 1 = Parameter 2 but I don't think you can use that method with Mark.
I tested the DiRoots Reorder tool to transfer one parameter value to another.
It almost works. It transfers the value but it always adds a number value depending on the starting value and step that you apply. A workaround is to use a step value of zero so all entries will have the same starting number then a dash then the transferred value. Use a starting number which you can easily find to edit afterwards (in my simple example I used 0 but you could use something unique like 9999 or something).
You can however then export to a speadsheet using DiRoots Sheetlink (or DBLink or similar?), then use Find & Replace to remove the prefix, then re-import back to the project.
Maybe that process could be simplified - if you email the help team at DiRoots (maybe send them a link to this post as well) they are usually very responsive and could maybe suggest ways of simplifying the process using their free products.
I only suggest this method if you are not familiar with using Dynamo - Dynamo could do it in a single script.
this is an interesting approach. I have heard of DiRoots but not used it yet. I'll dig into to this and see where it leads me. Thank you again.
Here's a Dynamo script which does what you want. It was pretty easy to construct.
You need to:
Result:
If you need to do it for multiple family categories you can either run it several times, changing the category in the leftmost node, or the script can be edited to run simultaneously for several categories.
Thanks for the extra info. I just started exploring Dynamo so this will be a nice implementation to have. Thanks @iainsavage