How to create tag with warning?

How to create tag with warning?

Anonymous
Not applicable
1,479 Views
6 Replies
Message 1 of 7

How to create tag with warning?

Anonymous
Not applicable

Hi 

 

We are tagging a railing to obtain its length but the problem encountering is that we would like a custom message to display base upon railing being a certain length. Controlled via 'if condition, true , false' statement.

 

The tag is set set as and we have a label reading length working but can't figure out how to get the length to speak to the preset warning message. 

 

Any ideas how to go about this

0 Likes
Accepted solutions (1)
1,480 Views
6 Replies
Replies (6)
Message 2 of 7

L.Maas
Mentor
Mentor

A tag just reads parameter values from the object it is connected to. So it can not be used to generate a awarning message.

I am not sure how and where you would generate and show this warning message.

 

A more common solution would be to create a schedule for this. In the schedule you can put the lengths. If needed you can use conditional formatting so that a length value will be highlighted with a colour when certain conditions are met (e.g length longer than certain value)

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 3 of 7

barthbradley
Consultant
Consultant

You might be able to get there through a Calculated Value in the Tag. 

 

TagCV.png

0 Likes
Message 4 of 7

bin
Advisor
Advisor

As mentioned by @barthbradley , something like this...

30102019.PNG

0 Likes
Message 5 of 7

Anonymous
Not applicable

Yes this what i am trying to achieve!! 

 

I can't figure out how to get the length label linked someway to a custom parameter. 

 

How did you go about setting up the tag to state too short or too long?

 

 

0 Likes
Message 6 of 7

Anonymous
Not applicable

4.JPG

 

3.JPG

 

2.JPG

 

1.JPG

 

Got the railing length parameter to speak to the custom parameter (travel distance) so that this would talk to the visibility parameters for the warning message on/off.  But in project environment the length does not trigger to warning text to appear or disappear. 

0 Likes
Message 7 of 7

bin
Advisor
Advisor
Accepted solution

Visibility parameter won't work, but here is a workaround:

30102019 02.PNG

In your tag, create another label and add a calculated parameter to it.

Put in the formula: if(Length > 10000 mm, "Too Long....", " ") something like this, make sure there is a space between the two "

 

Here's the result:

30102019 03.PNG