Hmmm… I’m not sure Dynamo can edit in Sketch mode…
There is a method in the API IsMonitoringLocalElement if that could be set to False you’d be there…
If @Kulkul hasn’t solved it, I’ll have a look when I get into work tomorrow…
Apologies,
Mark
Edit: this may be useful… How to get the sketch lines of the roof