Skip to content

File Trust Interupts Run #2

@johnpierson

Description

@johnpierson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions