Dimension : From link (Nearest Walls) and live elements (Duct, Pipe, Cable Trays, Electrical & Mechanical Equipment and all other elements)

I am trying to create dimension from link (nearest Walls) and live elements (Duct, Pipe, Cable Trays, Electrical & Mechanical Equipment and all other elements).
I have created a DYN and I am able to create Dimension from live Wall/Grid and live other elements.
but that DYN is not recognizing the near about inner wall.


I am not getting references of those edges.
Is there any workflow to create dimension like below snap.
Dimension from Link Element (Wall).dyn (14.4 KB)

Hi @partha1986engg,

It is possible to dimension linked walls with the Genius Loci package.
Use the search function of the forum, there are many examples.

1 Like

Thank you for your reply @Alban_de_Chasteigner
I have just tried above way but unsuccessful.
Wall references are not recognizing.


if I am taking only Element’s References then the Dimension is creating.
image
Dimension from Link Element (Wall).dyn (29.3 KB)

You must connect the Links node to the input RevitLinksInstance of the Convert Linked Reference node.

1 Like

@partha1986engg If the output says Function, it means you’re missing inputs. If you’re a beginner in Dynamo Please go through Dynamo Primer

https://primer.dynamobim.org/03_Anatomy-of-a-Dynamo-Definition/3-1_dynamo_nodes.html

2 Likes

Thank you for your guidance @Alban_de_Chasteigner .


I have connected the Links node to the input RevitLinksInstance of the Convert Linked Reference node.
But the output is Null.

My bad, obviously you have to connect the references output to the reference input :

1 Like

Thank you for your prompt reply @Alban_de_Chasteigner
I have tried both way but unsuccessful to get Wall References.

To use with sublists of list, set the longest lacing. Then flatten the result before sending it to the Dimension ByReferences node or use longest lacing on this ultimate node.

1 Like

Thank you for your great support @Alban_de_Chasteigner.
it is working now.
it will reduce several hours to complete my job.
I need little bit more support.
This script is working with Ducts, Pipes, Cable Trays and Conduits (system families) but not working with Electrical and Mechanical Equipment (Loadable Families).



When I am selecting those it is taking references but not creating any Dimensions.

1 Like

Hi Partha,

For loadable families you should use the Element Origin Reference node or if you need to choose which side to dimension a FamilyInstance References node.
familyinstance

1 Like

Hi @Alban_de_Chasteigner
it is really great solution that I got from you.
it is working beyond my expectation.


I need another small solution related to same topic.
How to get Pipe, Duct, Cable Tray, Conduit - Start & End Point Reference.

Hi Partha,

Use the Element Points References node.
Element Points References

1 Like

Thank you @Alban_de_Chasteigner
I got all of my solution.

Hello, I tried to replicate the routine step by step but I could not get this data from the “Links” node, I don’t have it created, could you explain to me how to generate to be able to use the “Links” nodeCaptura de pantalla 2021-01-14 005607

Hi @arin4664
First you load a Revit Link.
Then you can select the link from this node.
image

1 Like

Gracias por tu respuesta no comprendĂ­a por el idioma pero ya lo tengo mas claro

Hi @Alban_de_Chasteigner



End Reference Dimension is working with Pipes & Ducts.
But not working with with Cable Trays & Conduits.
Is there any another node for those?

It is related to the view Detail level.
The detail level must be coarse for the dimension to be created.

You can change the detail level with the View SetDetailLevel node.

2 Likes

Great ,it is working
Thank you @Alban_de_Chasteigner for your solution.
image