Set wall top constraint to unconnected

Sounds good!
I should of pasted the code…

# @arch_laboratory, http://archi-lab.net

import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application

from System.Collections.Generic import *

#The inputs to this node will be stored as a list in the IN variable.
dataEnteringNode = IN

collector = FilteredElementCollector(doc)
groups = collector.OfCategory(BuiltInCategory.OST_IOSModelGroups).WhereElementIsNotElementType().ToElements()

groupNames = []
for i in groups:
groupNames.append(i.Name)

OUT = groupNames, groups
1 Like

Thanks again!

1 Like

Hi Patrick, I tried to apply the python script but didn’t get too far.
Please take a look at what I did. (Tried to run the python node both with and without inputs)
Thanks!

My apologies for the super late response. The python workflow is for those walls within model groups. Refer to Jonathan’s response for grabbing the Top Constraint.

1 Like

Thanks @patrick_podeyn , we’ll try again

Thank a lot!
So unconnected is a None parameter.

Sorry to revive an old topic but I don’t understand how the parameter.storagetype and parameter.id help to replace the Springs node that @m.rijsmus recommended. I am trying to do the same thing that the OP was, yet I am just starting out in Dynamo and I want to do things with standard nodes before I start relying on 3rd party packages.

Kindly let me know in which package I can find this node springs.element.setparametertonone