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

File Trust Interupts Run #2

Open
johnpierson opened this issue Jun 26, 2023 · 0 comments
Open

File Trust Interupts Run #2

johnpierson opened this issue Jun 26, 2023 · 0 comments

Comments

@johnpierson
Copy link
Member

Issue

When running the tool on a directory that is not already trusted, you receive the file trust warning. This blocks the run of the graph so the background geometry does not get exported.

image

Recommended Fixes

In the Migration Assistant tool, we solved this with reflection to maintain compatibility with Dynamo 2.13.x and up.

Check if the File is Already Trusted

https://github.com/DynamoDS/DynamoGraphMigrationAssistant/blob/9596d9a3d2303086c4992e8194a876153303dadd/DynamoGraphMigrationAssistantViewExtension/ViewModels/GraphMigrationAssistantViewModel.cs#L375-L379

Add File to Trusted Items if User Checks a Box

https://github.com/DynamoDS/DynamoGraphMigrationAssistant/blob/9596d9a3d2303086c4992e8194a876153303dadd/DynamoGraphMigrationAssistantViewExtension/ViewModels/GraphMigrationAssistantViewModel.cs#L576-L583

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

No branches or pull requests

1 participant