Greetings again after some time!
Just to give a solution to anybody that would encounter the same problem, here is the answer from Mr. Tomasz Dąbrowski, from Autodesk support:
---
I received an answer from developers.
It looks like it is impossible to get access to a boolean property of "keep legacy body status" with iLogic or API.
But I was informed that enabling "Include Surface Bodies" for a Drawing View should clear the "Keep legacy body status" flag.
To find "Include Surface Bodies" setting, edit a view (or double-click on a view) and go to Recovery Options tab.
The setting is accessible and editable with API. There is a boolean property IncludeSurfaceBodies that can be accessed from DrawingView Object. More in the link below:
DrawingView.IncludeSurfaceBodies Property
A possible solution would be to:
- for every Drawing View enable "Include Surface Bodies" and disable it
OR
- check the current status of "Include Surface Bodies" property, enable it and bring back the starting value.
Both of approaches are doable with iLogic. If you have trouble managing it, let me know, I should be able to help.
The developers also informed me that:
I would recommend using this in an automation with caution due to potential unforeseen view changes regarding the surface bodies.
---
I would like to thank Mr. Tomasz Dąbrowski (and developer team) for helping and solving the problem!
Best regards,
Rene Repina