Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Line based family with embedded text

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
tonkata
1504 Views, 12 Replies

Line based family with embedded text

I’ve creating a line based family with embedded text, click dragging left to right, the text looks fine, but if I click drag right to left, the text becomes upside-down.

 

How do I overcome this problem?

 

line based 1.JPG

line based 2.JPG

12 REPLIES 12
Message 2 of 13
CoreyDaun
in reply to: tonkata

In the nested annotation Family for the text, you will find a Parameter "Keep Text Readable" under Family Category and Parameters, or under Properties while no elements are selected. Enable that and the text should behave.

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 3 of 13
tonkata
in reply to: CoreyDaun

Yep that works perfect now Corey, however now I have a problem vertically?

 

Capture.JPG

Message 4 of 13
CoreyDaun
in reply to: tonkata

That issues doesn't have such a straightforward fix. In your line-based Family, create two new Yes/No Instance Parameters: one for horizontal text and one for vertical. Set the formula for the vertical text to "= not(HorizontalParameterName)". Then place another instance of the nested Generic Annotation Family and rotate it 90°. Select that text and under Properties, click the small gray button beside Visibility and select the corresponding Yes/No Parameter from the list. Do the same for the other instance of the nested Family (should be the opposite Yes/No Parameter). Place the instances overlapping each other. Now, once loaded into a Project, you will have a manual control for the direction of the text, horizontal vs. vertical. Note that this will not account for angled placements.

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 5 of 13
tonkata
in reply to: CoreyDaun

Thank you for the detailed explanation Corey.

Could I instead add a rotate parameter and lock the text to this? Could that be a better solution?

Message 6 of 13
CoreyDaun
in reply to: tonkata

That may be a little bit trickier, but you could absolutely do that, yes.

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 7 of 13
tonkata
in reply to: CoreyDaun

Corey I've tried playing with the idea, but haven't managed to succeed.

From what I understand you need to nest an annotation family within the line based, but when I attempt to lock the nested text to the reference line, I get an error. If it's not to much to ask, are you about to guide me through it.
Message 8 of 13
CoreyDaun
in reply to: tonkata

Sure. I would build the rotation into the nested Generic Annotation Family itself, so it is easier to control in the Host Family. In order to do so, just Group the Text with a Reference Line and then create parametric constraints that rotate the Group based on the embedded Reference Line. See image below.

 

Once loaded into the Host Line-Based Family, you can create a new Angle Parameter (Instance) to control the Nested Family's rotation; select the nested Family and, under Properties, link the rotation Parameter from the Nested Family to that of the Host Family.

 

Attached in a quickly hashed-together example Family (in 2014 format).

 

RotateGroup.JPG

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 9 of 13
tonkata
in reply to: CoreyDaun

Corey, I must be doing something wrong. Here’s a rundown.

 

I open a Generic Annotation Family, draw a reference line, and lock the end point of the reference line to the center of the two reference planes.

 

I then add an angular dimension, and apply a instance “rotate” parameter.

 

I then open the family type, and flex the rotate parameter. 0 to 179 degrees works perfect, soon as I type in 180, the parameter breaks.

 

rotate 1.JPG

 

rotate 2.JPG

 

rotate 3.JPG

Message 10 of 13
tonkata
in reply to: tonkata

Sorry Corey, only just noticed you have attached a .rfa, I'll take a look and break it down.
Message 11 of 13
tonkata
in reply to: CoreyDaun

Brilliant Corey, checked out your .rfa and was able to replicate it.

 

I think the mistake I was making was locking the reference line end point to the reference planes. Anyway all work well now, so cheers again.

Message 12 of 13
CoreyDaun
in reply to: tonkata

That's actually a common "Revit thing", where you change the angle constraint to zero and it breaks it. If the rotation appears to work correctly for the other angles, leave it at some other angle and load it into host like that. It should perform properly (i.e. accept a zero angle) once manipulated in the host family.

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 13 of 13
tonkata
in reply to: CoreyDaun

Cool I'll keep that in mind, thanks again for your help.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report