How do I create dimension lines in the 3D view?

I would like to display dimension lines in the Revit 3D view as shown in the image. Can you please tell me how to do this in Dynamo?
I have read several posts in the forum but could not solve the problem.
I have also attached a Revit file showing what I would like to do, which I hope you will find useful.
It would be helpful if you could show specific Dynamo files.
dimension.rvt (5.1 MB)

Using Dynamo to set work plane in 3D view
Auto-Dimension 3D View

Read especially the bold text in the quote.
I don’t wanna sound like an a**, but did you only read or also tried something yourself?

Also :point_down:.

1 Like

I would say as Bas, yes its possible except you diameter dimension i guess

Thanks for your reply.
I was able to reproduce the Dynamo you attached, but the Dimension ByReferences node is returning null. I assume the view is a 3Dview.

The selection was made on two of the sides of the cube as shown in the image.
I have also attached the Dynamo file and would appreciate it if you could check it out.
dimension_in_3dview-test.dyn (20.3 KB)

I have no idea why it is returning a null.
Maybe @Alban_de_Chasteigner can tell as he made the node.

Hi Try get the surface reference

4 Likes

I tried it out also out of curiosity. Worked.

Would this :point_down: be the bottleneck in the other Graph then you think @sovitek ?

image

I am really curious what the difference is between the two approaches (Graphs).
As the input is the same got Line and Reference?

not really sure i havent tried, this graph

ok guess it could work as well if we pull the points on plane

1 Like

Thanks for the reply. I was able to display the dimensions in 3Dview without error.

1 Like

awesome :wink:

1 Like

Hi,
I’m trying to get the length of a pipe using your method. My input is a pipe element. I take two opposite surfaces and use the Surface.Reference node to get their references. Then I place points at the center of each surface, create a line between those two points, and join the references into a single list. These are the two inputs in the final node you used, but my output is null element.

Could you please take a look and help me figure out what’s going wrong?

Hi @lovro.sibenik you could start create a new topic with all material you have so far, and what you have tried in dynamo, and i can take look..thx

Hi, I used the Dimension.ByReferences node in Dynamo. My problem is that I can’t get more than one dimension when I run my code. I have multiple lines and references as inputs, but I only get a single dimension as output.

try create a new topic, this one here already have a solution there fit the OP…cheers