Dimension arc length in Revit API

Dimension arc length in Revit API

pasgatto
Explorer Explorer
1,545 Views
5 Replies
Message 1 of 6

Dimension arc length in Revit API

pasgatto
Explorer
Explorer

Hi to all,

I tried to search API documentation, this forum, web etc.. While i've not problem with linear dimensions  i didnt find anything about dimensioning arc length (i'm using C# language) in project environment.

I'd like to dimension arc detail lines in the current project view. 

 

I tried the  NewArcLengthDimension Method (View, Arc, Reference, Reference, Reference)  as reported in API documentation:

https://www.revitapidocs.com/2015/a33279db-ba00-7cb7-1cea-9f4eac33b747.htm

but it seems to work only in the family editor, not in project environment ..

 

Perhaps is not possible to do by API?

Thank you to anybody will help me

 

0 Likes
Accepted solutions (1)
1,546 Views
5 Replies
Replies (5)
Message 2 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @pasgatto ,

 

Looks like it is not possible to create ArcLength Dimension in project document using Revit API.

https://forums.autodesk.com/t5/revit-ideas/api-create-arc-length-and-radial-dimensions/idi-p/7003021

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 6

jeremy_tammik
Alumni
Alumni

Discussed in more depth here (internal slack discussion):

 

https://forums.autodesk.com/t5/revit-api-forum/diameter-dimensions-with-revit-api/m-p/9209398

 

Please refer to that thread and always search for existing questions and answers before raising new ones.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 4 of 6

pasgatto
Explorer
Explorer

Hi @naveen.kumar.t 

Thank you for your answer!

This is what I was afraid of..  :-(...

0 Likes
Message 5 of 6

pasgatto
Explorer
Explorer

Hi @jeremy_tammik 

Thank you for the links!

 

Anyway i already saw these posts but were talking about angular, radial dimension etc... I didnt find anything about arc length dimension...

0 Likes
Message 6 of 6

jeremy_tammik
Alumni
Alumni

Please add your comments, use case, business requirements and vote to the wish list request in the Revit Idea Station:

  

https://forums.autodesk.com/t5/revit-ideas/api-create-arc-length-and-radial-dimensions/idi-p/7003021

  

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