Hi,
I’m using the archilab key schedule node to import data into key schedules. The boolean (yes/no) is not working, they only turn up as grey in the key schedule. I have tried replacing the true false with 0 and 1 as well. String and number data imports fine.
Hi @daninet I think it’s normal behavior also when we add a yes no parameter manually without setting a value.,but you could get these keys elements after and set a value..think something here

Hi sovi,
May I know what’s in the python?
Thank you,
Yeah sure, my bad forgot attach…try here
import clr
clr.AddReference("RevitServices")
from RevitServices.Persistence import DocumentManager
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import FilteredElementCollector
doc = DocumentManager.Instance.CurrentDBDocument
key = UnwrapElement(IN[0])
OUT = (
FilteredElementCollector(doc,key.Id).ToElements()
if hasattr(key, "KeyScheduleParameterName")
else "it isnt a keyschedule!!"
)
1 Like