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

Leader line auto move to center tag

5 REPLIES 5
Reply
Message 1 of 6
ttnhan1
290 Views, 5 Replies

Leader line auto move to center tag

Hi, I'm create tag with leader type is free, Some first leader line of tag is created normal but some leader line is auto move to center tag like this image

ttnhan1_0-1725962668104.png

Is there any limit of deg or any reason? How can I fix it?

5 REPLIES 5
Message 2 of 6
jeremy_tammik
in reply to: ttnhan1

Afaict from your query and screen snapshot, you are not doing anything programmatically yourself using the Revit API, just using the standard Revit user interface. In that case, unfortunately, this is not the best place to ask such a question. Please note that this discussion forum is dedicated to programming Revit using the Revit API. You will probably get more optimal answers to a question like yours relating to product setup, optimisation, usage, best practices and other end-user support issues in one of the non-API Revit product support discussion forums instead:

  

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 6
ttnhan1
in reply to: jeremy_tammik

Thank you for your reply.

I'm using Revit API IndependentTag.Create to create tag, then I use new XYZ to move this tag and to a location. So, I think it is true topic.

Also, do you have any idea about Revit auto move leader line to center below the tag instead tag head position?

Message 4 of 6
jeremy_tammik
in reply to: ttnhan1

Maybe someone can help if you share a code sample showing how you are going about this task?

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 5 of 6
ttnhan1
in reply to: jeremy_tammik

I don't think it relate to my code, when I using tool of Revit, it still happen. I created a tag, then move it higher and it happen like image.

ttnhan1_0-1726112507636.png

 

Message 6 of 6
jeremy_tammik
in reply to: ttnhan1

If you observe the same behaviour in the manual end user interface, it might be more efficient to discuss this from the UI point of view in the much larger and more product related architectural forum. They may well be aware of some kind of workaround or best practices that enable you to avoid the issue. This forum is dedicated to pure Revit API issues, either pure programming problems or situation where the behaviour differs between UI and API:

  

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open

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

Post to forums  

Autodesk Design & Make Report