Finding Duct Accesories Host Duct

I used the bellow code in python script.

import clr


from Autodesk.DesignScript.Geometry import *


import RevitServices

from RevitServices.Persistence import DocumentManager

from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument

faminsts = UnwrapElement(IN[0])

elementlist = list()

sourcelist = list()

for item in faminsts:


OUT = sourcelist

Please help me.

@bikashseas Here is the DYN file For Bikash.dyn (2.9 KB)

1 Like

I am using Dynamo 0.8
it showing something wrong.


@bikashseas which Revit version your using?

@Kulkul Revit MEP 2014

@Kulkul Can you please give me the python scipt which you have used in that node?

@bikashseas Sorry :frowning: I don’t use Revit MEP 2014 version any more and also Dynamo 0.8 older version.

@Kulkul What’s wrong with my python script.Can you please edit it for me?

I am waiting for python script.Please help me.