Hello!
The formula doesn't work. It is possible to enter two identical parameters in the formula so that the second parameter does not understand text.
if(or(z Offset Value < -0' 4", z Offset Value > -0' 4"), [z Offset Value], "")
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Hello!
The formula doesn't work. It is possible to enter two identical parameters in the formula so that the second parameter does not understand text.
if(or(z Offset Value < -0' 4", z Offset Value > -0' 4"), [z Offset Value], "")
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Both [z offset value] and "" need to be text (the latter is...) to return text to the text parameter, so I suspect z offset value is not a text parameter...edit: actually it is, since it's in the condition for the if statement so there's your answer...
PS. are we talking about scheduling or family formula...?
Both [z offset value] and "" need to be text (the latter is...) to return text to the text parameter, so I suspect z offset value is not a text parameter...edit: actually it is, since it's in the condition for the if statement so there's your answer...
PS. are we talking about scheduling or family formula...?
Revit formula need to understand what is written in parentheses [] is a parameter, not a text.
PS. We are talking about Family formula.
Sorry, if I could not explain the problem well.
Thanks.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Revit formula need to understand what is written in parentheses [] is a parameter, not a text.
PS. We are talking about Family formula.
Sorry, if I could not explain the problem well.
Thanks.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Can you post the family or screenshot to see what we are looking at? In some cases family parameter if it is tied to dimension will not allow negative value.
Can you post the family or screenshot to see what we are looking at? In some cases family parameter if it is tied to dimension will not allow negative value.
this?
@martijn_pater wrote:is=isn't*, a text parameter for z value.
You can't convert number to text, unless you have a finite number of possibilities maybe. See attached.
@martijn_pater wrote:is=isn't*, a text parameter for z value.
You can't convert number to text, unless you have a finite number of possibilities maybe. See attached.
@ArmanMargaryan wrote:if(or(z Offset Value < -0' 4", z Offset Value > -0' 4"), [z Offset Value], "")
It looks like you are complicating things for some reasons only you know of. Have you heard the phrases: "Less is more.", and "Simple is hard"?
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
@ArmanMargaryan wrote:if(or(z Offset Value < -0' 4", z Offset Value > -0' 4"), [z Offset Value], "")
It looks like you are complicating things for some reasons only you know of. Have you heard the phrases: "Less is more.", and "Simple is hard"?
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
Unfortunately, they are not limited to me.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Unfortunately, they are not limited to me.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
it's a beam tag. This is in the Label:
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
it's a beam tag. This is in the Label:
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
This is how it works when I do Load into Project. That's wrong, it's supposed to be the value of "z Offset Value".
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
This is how it works when I do Load into Project. That's wrong, it's supposed to be the value of "z Offset Value".
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Use a prefix (and/or suffix) in the tag label with your z value parameter.
Use a prefix (and/or suffix) in the tag label with your z value parameter.
This parameter should be set for beams that are -0 '- 4 "low or high.
As shown in the picture, but instead of the text "z Offset Value" write the value of the "z Offset Value"
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
This parameter should be set for beams that are -0 '- 4 "low or high.
As shown in the picture, but instead of the text "z Offset Value" write the value of the "z Offset Value"
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
@ArmanMargaryan wrote:it's a beam tag. This is in the Label:
I don't understand what you are pointing out to me. That's exactly the formula I showed you above. Looks like it worked. No?
@ArmanMargaryan wrote:it's a beam tag. This is in the Label:
I don't understand what you are pointing out to me. That's exactly the formula I showed you above. Looks like it worked. No?
I tried it before you wrote it.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
I tried it before you wrote it.
Arman Margaryan
Structural Engineer | BIM Specialist
If my answer solved your problem, please click the "ACCEPT SOLUTION" button.
Like I said, it's not possible to convert number to text. Just use prefix/suffix with the parameter for the tag's label...
Like I said, it's not possible to convert number to text. Just use prefix/suffix with the parameter for the tag's label...
Can't find what you're looking for? Ask the community or share your knowledge.