Hi,
I’m trying to put together a script to open a file in the background and clean it, much like the post here.
Unfortunately the Collector.ElementsOfTypeInDocument [Rhythm Package] node gives me the following error…
“Warning: Collector.ElementsOfTypeInDocument operation failed.
The managed object is not valid.”
If I stick a watch note out of the Applications.OpenDocumentFile node it gives me “Autodesk.Revit.DB.Document” so I think it’s opening the file perfectly fine… but failing afterwards?
I’ve followed the linked script exactly…does anybody know what this error message means? or how to satisfy it?
Thanks in advance!