Want to read and calculate shared parameters of connected families in Revit project

Hellow every one I am trying to read shared parameters from all connecte families into my revit project for that i have used following node:

  1. Element Classes
  2. All Elements of Class
  3. Element.Name
  4. Watch
    i have connected all these nodes in order they are placed in list mentioned above but i got the shared parameter along with two parametere i.e. W and A so total count is 3 whether the count should be 1 please help me to reach my objective
1 Like

@sadheerahmad1975 ,

that can be a start ?

KR

Andreas

this will only give me names of selected category of element but i want to get all shared parameters from my revit project


This ones is my script

Hi how about this one here…

@sadheerahmad1975 ,

or this way

import clr

clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *

clr.AddReference('RevitAPIUI')
from Autodesk.Revit.UI import *

clr.AddReference('System')
from System.Collections.Generic import List

clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
clr.ImportExtensions(Revit.Elements)

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument
uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument


elements = UnwrapElement(IN[0])

output = []

for i in elements:
	output.append(i.IsShared)

OUT = output

KR

Andreas