Hello everyone,
i would be happy if somebody could help me.
I have a problem: i want to tag duct fittings with the dimension of its connections in Revit.
Starting position:
- Let’s say we have a T-piece with 3 connectors. I defined the width and height of the connector with parameters (e.g.: A,B,C,D). Other fittings will have different parameters (E,F,…)
- Now i want to place a tag family for each connector with the specific parameter of height and width of that connector, so that i can use the same tag family for every fitting. It should look like this:
What i have so far:
- the coordinates of the connection points = position of the tags
- the height and width of the connectors but not the parameter name (A,B,C,D,…)
Now im stuck. I have no clue how to get the paramters out of the connectors!
Idea 1:
one solution is maybe to get all the parameters of every fitting and then match with height and width. But there could be the case that height and width is the same, so there is no uniqueness–>no solution
Idea 2:
get the dimensions out of the connected ducts–>much easier. But what if fitting is connected to fitting–>no solution
Labeling:
The further idea is, that i add for every parameter a own label in the tag family and set the visibility to true, depending on the parameters. Is there an possibility at all to change the visibility of tag familys?
To sum up:
- How to get the parameters (A,B,C,…) out of the connectors?
- How to label the fittings in the described way?
Does anyone know how to solve my problems or is there maybe a more simple/smarter way to do that? (i prefer not to code some mind-blowing scripts, because i have no clue about python )
I appreciate any advice!
Thanks a lot
Dan
Flanschbeschriftung.dyn (112.1 KB)