Hello I’m trying to hard code this element type - reference plane with code block
something similar to what I did for Categories node below
However, it seems like its not working so I tried python code
from Autodesk.Revit.DB import *
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
reference_plane = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_ReferencePlane).WhereElementIsNotElementType().ToElements()
OUT = project_info
which is throwing an error.
Not sure where to fix
Any suggestion would be greatly appreciated. Thank you very much!