Hi!
Quick question: is there a way to refer to the existing parameter in a formula? Like:
=[this]*2
=[this]+5
'this', of course, means the exising value.
I'd need this because I want to change multiple parameters (topo point Elevation in this case) at once.
Thanks a lot!
Best regards
The way you have it written is exactly right. =Parameter Name *2 or =Parameter Name +5. You can even put brackets around Parameter Name like you are you showing, which needs to be done in instances where Parameter Name contains certain characters.
Here's some other information and rules that may help you in writing formulas:
https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html
Thank you very much!
I still cannot get it to work, though.
Example: 2 walls with different height, both are selected. What's the exact formula to multiply the parameter 'Unconnected Height' by 2?
= (Unconnected Height) * 2
does not work - error message "the following string is not recognized: Unconnected Height"...
What's the 'magic symbol' for the variable itself?
Thanks!
I guess you know what I mean - using the variable/parameter itself in the formula.
Not possible?
Thanks!
Ok, thanks!
Unfortunate... I guess I will post that in the idea forum. Would be a super nice and quick way to adjust multiple object's parameters.
Best regards
@Tupaia wrote:
I guess you know what I mean - using the variable/parameter itself in the formula.
Not possible?
Thanks!
As I said, it is only possible when the value is exposed, meaning one wall or wall with identical Unconnected height. You could create a wall schedule, sort by Unconnected height, un-itemize rows to group them, and do it for each one.
Ok, but that's beside the point - being able to edit quickly.
I came across the idea because I wanted to lift a selection of 1000s of topo points by a value, without chaning to front view and moving them. Topo points have the parameter 'Elevation'. I thought I could just enter something like
=*+10
and be done.
The concept would be useful in many other cases, too, I think.
Thanks!
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.