Hi everyone,
Is there an option or component available in Revit to disable all Revit components before running a script in Dynamo or Rhino.Inside.Revit?
Currently, we can use the Lock option to prevent existing components from being modified, but this requires manually locking and unlocking the components before and after running the script. This can be time-consuming, especially when working with a large number of elements. If the components are not locked, the script may unintentionally replace existing objects or cause unexpected issues.
I noticed that Tekla Structures provides an option in the ribbon to disable all Tekla components, which makes this process much easier. I have attached a screenshot for reference.
Would it be possible to develop a similar tool or component for Revit that allows us to temporarily disable all existing components before running a script and then re-enable them afterward?
This would be extremely helpful for improving workflow efficiency and preventing unintended modifications to existing model elements.
Thank you for your support and suggestions!



