Comments (2)
Other potential solution: setting IsDirty to true kills current execution and the re-evals.
Pros: potentially faster, less likely to get garbage data, can rollback the transaction so document will never get updated.
Cons: could result in unexpected run issues and element states which are unaccounted for. With DMU might not be a problem, but still potential unexpected thread issues may arise.
from dynamo.
IsInteractive attribute can now come into use. If true, eval is wrapped in dispatcher. Entire eval needs to be wrapped (from checking if cancelled to setting IsDirty to false) in order to avoid race conditions. Once the eval cancellation flag is set, IsDirty can NOT be set to false before the evaluation actually stops.
from dynamo.
Related Issues (20)
- pyrevit
- Crash report from Dynamo 2.19.0.4737 HOT 7
- Rapport d'erreur de Dynamo 2.16.1.2727 HOT 1
- How to close Dynamo script opening in Dynamo by external application? HOT 5
- Running Script Crashes Revit and Dynamo. Reproducible Sample Script. HOT 2
- Need Help : How to call Dynamo Player Open to execute Revit API ? HOT 7
- Dynamo의 충돌 보고서 2.19.3.6394 HOT 1
- Dynamo의 충돌 보고서 2.19.3.6394 HOT 1
- Dynamo의 충돌 보고서 2.19.3.6394 HOT 1
- New Package Manager Sorting doesn't Honor CalVer HOT 2
- Object Display Getting Stuck On When Using Pinned List Watch on Node HOT 2
- Freeze Not Working Correctly HOT 1
- Memory exhaution on Dynamo 3.0.3.7597 HOT 1
- Crash report from Dynamo 2.6.2.15705 HOT 1
- Crash report from Dynamo 2.6.1.8786 HOT 1
- Crash report from Dynamo 2.6.2.15705 HOT 2
- Crash report from Dynamo 2.6.2.15705 HOT 1
- Crash report from Dynamo 2.6.2.15705 HOT 1
- Informe de conflictos de Dynamo 2.6.1.8786 HOT 1
- Crash report from Dynamo 2.5.0.7460 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamo.