Query wall and / or column constraints to slabs

In Revit I have the option to constrain walls and columns to slabs, levels and reference planes.

I am looking for a way to query these connections in dynamo. Doesn’t seem like there is a way to do it.

I’ve been working with a german version of revit for the past decade or so; I don’t remember what the english name for the top and bottom constraints function in revit is…in case there are already posts covering this topic.

Cheers,
Matt

@m.owens ,

you can snoop with lookuptable GitHub - jeremytammik/RevitLookup: Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.

and than you can access it.

here you can filter walls that are fixed:

import clr
import sys 

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


# 🎯 Collector
walls = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Walls).WhereElementIsNotElementType().ToElements()

wallConstrainTop = [ wall for wall in walls if wall.get_Parameter(BuiltInParameter.WALL_HEIGHT_TYPE).AsInteger() == 1 ]

OUT = walls, wallConstrainTop

KR

Andreas