Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DYN-7568] Tune-up crashes Dynamo when running all nodes in script with a selected family #80

Merged

Conversation

ivaylo-matov
Copy link
Contributor

This PR aims to address DYN-7568. Please see the ticket for full description of the issue.

The cause of the Revit & Dynamo crash was ResetEngine() in ResetProfiling() trying to start a transaction outside Revit's API. I removed ResetEngine() and worked around this by looping through the nodes in the workspace and marking them as modified manually. This should achieve the same result.

There might be some edge cases if we work with dynamic components, but it’s been stable in my tests so far.

DYN-7568-TuneUpInRevitCrash_compressed

@QilongTang
@reddyashish

@dnenov

@reddyashish reddyashish merged commit 6836a09 into DynamoDS:master Nov 6, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants