I’ve created a the attached script to input the containing room and sequence number in the Mark parameter. Dynamo runs OK with no errors and lists out the rooms correctly.
When run in an empty file all works perfectly but when creating rooms and running in an existing file or a file which previously had linked model data with room info, this no longer functions correctly. Is there a way to purge erroneous and un-used rooms from within the dynamo script?
Items outside any room should be returned with ‘-’.