Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Automatically change offset line text family

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Sandervp
382 Aufrufe, 1 Antwort

Automatically change offset line text family

Hello everybody,

 

I have got a dimension family which containing a line with text. These 2 text objects have got an offset of 400 from the endpoints.

If I use this family/ place this line, and the line is too short, I'll get an error.

 

I have to change the dimension offset and the dimension spacing first before I can place this family.

If I place, instead of a small line, a longer (placeable) line, I can't trim this long line into the length it should be. Because the same error appears.

 

Is it possible to edit this family so, if the line/ family is too short, only 1 or even none linetext appears?

 

I have attached the family

Using Revit 2019.

1 ANTWORT 1
Nachricht 2 von 2
Anonymous
als Antwort auf: Sandervp

The family has an array, the array can only work with 2 or more instances not 1 instance (as that would not be an array)

You can add an if statement for visibility so if the distance is shorter than the array then the array is not visible and a static text is visible. 

You have the array set by 'first and last' method and you will force an error if the line is too short, you'll need to dadd a calculated value to get the length to force to min value, this way the family won't break, however you won't be able to have it shorter than min.

 You need to think through all possibilities and then apply rules to ensure all your conditions are working how you expect. The family is not broken, the way you created it forces an error as it can't create the object if it's length value is shorter than the offset values and text length. I also note the family is made for a specific scale otherwise the text overlaps, you may wish to modify this or have this restriction in the naming.

Hope this helps

 

 

 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report