Constraining a label to a path

Constraining a label to a path

Sahay_R
Mentor Mentor
470 Views
8 Replies
Message 1 of 9

Constraining a label to a path

Sahay_R
Mentor
Mentor

I have a parameter driven True North family, which works flawlessly. The label that is nested in this family also works flawlessly, reading off the values from the arrow as it rotates. My only problem - even when locked to the arrow, the label runs wild all over the place when the arrow rotates. I have tried to align it parallel to the arrow, tried to keep it perpendicular to the end of the arrow. This screenshot shows what I want. I have also attached the family.

Capture.JPG

AARRRGGGGHHHH. 


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Accepted solutions (1)
471 Views
8 Replies
Replies (8)
Message 2 of 9

Joris.vd.Meulen
Collaborator
Collaborator
Accepted solution

So,

 

Your true north Generic Annotation has to rotate along the arrow?

If so: see attached file.

 

Cheers.

 

 

 

 

love python coding
Message 3 of 9

Sahay_R
Mentor
Mentor

OMG. You just gave the label the same rotation parameter. Awesome.


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 4 of 9

RDAOU
Mentor
Mentor

@Sahay_R

 

It s not constrained properly that's why....but that's easy to fix, but one question before I load the screencast...what is the purpose of the Diameter parameter and the Perpendicular parameter? I tried flexing those but they seem not to be related to the North Arrow...just an invisible circle which doesn't seem to be relevant to anything

 

edit...solution already found above

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 5 of 9

Sahay_R
Mentor
Mentor

The Perpendicular parameter was a trial that missed. The Radius parameter - that was how I forced the arrow to rotate the way I wanted it without falling to pieces all over the place. Thank you!


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 6 of 9

RDAOU
Mentor
Mentor

🙂 @Sahay_R 

 

cool .. Well they are not restraining anything and bot not really required... Just checked the solution too. I thought your intention was to runt the annotation along the circular path and not aligned to radius. But if that works for you all is good

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 7 of 9

Sahay_R
Mentor
Mentor

Actually I did - placed the tag where I wanted it and then applied the rotation parameter. It is glorious!


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Message 8 of 9

RDAOU
Mentor
Mentor

Cool 🙂 then u could also just lock it to the end point of the reference line rather than the line itself (and when instance is placed - the ref line should be set as workplane) no parameters required). Same way you would rotate nested elements in any other family

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 9 of 9

Sahay_R
Mentor
Mentor

Smiley Very Happy


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes