Default Leader Length

Default Leader Length

Anonymous
Not applicable
1,027 Views
3 Replies
Message 1 of 4

Default Leader Length

Anonymous
Not applicable

Hello,

 

is it possible to set the Default leader Length via API. I need to set the Independent Tag Leader Length programmatically. Please help

0 Likes
Accepted solutions (2)
1,028 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk
Accepted solution

Please refer to the documentation on the IndependentTag class members:

 

https://www.revitapidocs.com/2020/599b2ef1-24b8-fef5-adf2-befffbd2af48.htm

 

I see write access to the LeaderElbow and LeaderEnd properties, so you can control the position of the elbow and end of the tag leader.

 

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

Anonymous
Not applicable
Accepted solution

Thanks Jeremy for your response.

 

I was using leaderend and tagheadposition to get the leader length and adjust it as per user input by converting to internal units.

Was checking out for a more straight forward method by setting "Default leader length" property which I guess is not available. 

Thank you

 

Rahul

0 Likes
Message 4 of 4

floretti
Advocate
Advocate

Still not available? It would be handy to have that field accessible in the API.

 

FabioLorettiOliveira_0-1683265574258.png

 

0 Likes