I know what you mean… Almost did the same 2 years ago.
Restarted Revit and got warning again…
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 20, in
StandardError: Unable to transform the body! : ILLEGAL_ENTITY_MODIFICATION – entity modification outside API_BEGIN/END block
The actual model that I need to fill the information (and in which I’m testing your graph) is a Central Model, with some worksets, that I’m accessing from my firm’s PC by the AnyDesk app. Could be any of these circumstances?
Edit: and I’m not logged with admin privileges at my firm’s PC right now
I think so, please run the script in your local PC. You can open the central model and save a local copy of the model in your PC. If you run my script in the model you just gave me, the script works perfectly.
When the error persist. I think the error is that your model has so many element and its getting to the limit for how much you can iterate from geometries produced.
Or you can send me a model with similar number of elements to me. Ill tell you my email if you want to send me the file.