Creating Continous Dimension using Revit API.

Creating Continous Dimension using Revit API.

autodesk554
Explorer Explorer
2,028 Views
4 Replies
Message 1 of 5

Creating Continous Dimension using Revit API.

autodesk554
Explorer
Explorer

Hey I want to create continuous dimension using Revit API. Please suggest a code on how to do so.

Also you can take grid for an example and create continuous dimension within the grids.

 

Continous Dimension.png

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

autodesk554
Explorer
Explorer

Yes, I have seen most of those links. And created dimension using New Dimension method only. 

 

Continous Dimension_2.png

I am able to create dimension which are single dimensions (Eg. Case A). However I want create one continuous dimension (Eg. Case B). See the issue is not on how to create dimension. I have reached that far. But creating continuous dimension is a concern.

In first approach I tried to do it by changing the line length which is in the argument of NewDimension method. However that didn't work at all.

Should I add more references of grids in the reference array?...

 

 

0 Likes
Message 4 of 5

jeremy_tammik
Alumni
Alumni
Accepted solution

> Should I add more references of grids in the reference array?

 

Yes.

 

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

jeremy_tammik
Alumni
Alumni

I think the term you should search for is 'dimension string'. I did so, found a suitable solution and another related interesting thread:

  

  

Seek and you shall find (Matthew 7:7).

  

 

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