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: 

How to create non-linear dimensions in project document

2 REPLIES 2
Reply
Message 1 of 3
stevepiL9YXW
1000 Views, 2 Replies

How to create non-linear dimensions in project document

Hi everyone,

This seems to be a basic function of Revit, but I have been searching it for a while and could not find the solution. The Revit help (link below) states NewDimension method can create a linear dimension only.

http://help.autodesk.com/view/RVT/2019/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Revit_Geometri...

Then how do we create non-linear dimension, such as Radial dimension, in project document.

I tried the overloaded NewDimension method:

NewDimension(View view,Line line,ReferenceArray references,DimensionType dimensionType)

I tried to supply a non-linear dimensionType to the method, but it throws exception “the dimension type is a non-linear dimension type”.

I know methods available for creating non-linear dimensions in family document, but how about project document?

What am I missing here?

Thanks

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: stevepiL9YXW

Hi Steve, 

 

I asked the development team for you.

 

Best regards,

 

Jeremy

 



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

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community