Tag Ducts on several views at once

Hi there all

I am trying to get Dynamo to tag all my ducts in specific views, that are more that 2000mm of length.

So now I have made a new graph to do this. It has found the ducts, that needs to be “tagged”, but, when I press “run” it just runs in the background, but it does not place the tags… !

Can anyone tell me what I am doing wrong?

Heres the Graph:

Hi @bjkris,

All your inputs are list of list so set the longest lacing on the Create Tag node.
Your version of the package seems really old, you should install the updates.

Hi there Alban

I get this error after changing to “longest”

Any suggestions?

Hi,

Which version of Revit, Do you use ?
There are 2 Create Tags nodes : One for Revit prior 2018 and the other for Revit 2018 and later.

What is written in the error message ?

Hi agian

Its Revit 2020, and Dynamo 2.3.0.5885 and If I try to download a newer version of the Loci package, it says “The package uses a newer version of Dynamo”. So is that not a problem…?

And the error message says:

“Traceback (Most recent call last):
File “”, line 191, in
AttributeError: ‘Document’ object has no attribute ‘NewTag’”

The Genius Loci package is compatible with all versions of Dynamo, so no problem.
The error message indicates that you are using the wrong node. (API method deprecated)

Hi there again

I have tried updating the package to the newest version.

Now the error is:

“Traceback (Most recent call last):
File , line 184, in
File , line 51, in toRVTpoint
AttributeError: ‘List[Object]’ object has no attribute ‘ToXyz’

And for Revit 2020, use the Create Tag node not the old Create Tag (Deprecated).

Thank you once agian Alban!

As always, you have saved me so much time! :slight_smile: