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:
Element Classes
All Elements of Class
Element.Name
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
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