Spool automatic Numbering Issue

Hello, Dynamo Community!

I’m trying to automate spool tag numbering in Revit using Dynamo. However, identical family instances (or elements with the same properties) are not being assigned the same tag number as expected. I’ve been troubleshooting the graph but haven’t been able to identify the issue.

If anyone has encountered this problem before or knows what might be causing it, I’d really appreciate your help. Thank you!

@sovitek Hi sir can please help me out this?

maybe not sure, but if this should could happend you will at least zoom in your image, and all nodes expanded as we cant see whats goin on

This.

But a wild guess for a (the) solution; Group.ByKey.

perhaps :wink:

I hope this image is clearly visible sir @sovitek

almost there :wink: try do an image export as in the link i showed and do exackly that…then it really works :wink: cheers

Actually i did exactly as you mentioned, but node names are not shown in the image

no worries, zoom in a single node so you can see the node name and then export, and no worries dynamo export image tool do the rest so all is visible :wink:

Thank you sir, now its clearly visible :slightly_smiling_face:

Lots to unpack. Maybe it would also help if you tell what the Python node does.

I think your .dyn can be simplified (which would make it a lot more readable).

I find it a bit hard to tell which Element in your table (from the first screenshot)
is what Element in your List(s) in Dynamo (second screenshot).

If you can send a Project with at least the Elements in your screenshot i am
willing to make a cleaner (working) version of your .dyn.

FYI
You can get multiple parameter values with just one
Element.GetParameterValueByName node.

EDIT


Are you sure you always have an Element at index 1 (a=[1])?

The project file is too large to share, but I can share the Dynamo (.dyn) file here. I hope it helps identify the issue. If anyone can take a look and point out what I’m missing, I’d really appreciate your help. @bvs1982 @sovitek

Spool Num.dyn (99.7 KB)

Try keep it simple. Something like this?

My point.

:beating_heart: @Mike.Buttery

thank you @Mike.Buttery Thanks for script i will try this & share the final solution here :slightly_smiling_face:

Hi Mike,

It’s working for me now. Thank you for your help!

However, I need to reorder the output so that the MEP elements appear first and the Pipe Accessories appear second in the list. Is this possible?

@gowtham_pj

There are multiple ways to do that. Just some examples :down_arrow:.