Skip to content

Commit 4364aa9

Browse files
authored
override the local revit model when saving (#3312)
Bogdan: When I run a graph that modifies the rvt it looks like we don't get back the modified version ? Is this expected ? ### Purpose (FILL ME IN) This section describes why this PR is here. Usually it would include a reference to the tracking task that it is part or all of the solution for. ### Declarations Check these if you believe they are true - [ ] The code base is in a better state after this PR - [ ] Is documented according to the [standards](https://github.com/DynamoDS/Dynamo/wiki/Coding-Standards) - [ ] The level of testing this PR includes is appropriate - [ ] User facing strings, if any, are extracted into `*.resx` files - [ ] Snapshot of UI changes, if any. ### Reviewers (FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR) (FILL ME IN, optional) Any additional notes to reviewers or testers. ### FYIs (FILL ME IN, Optional) Names of anyone else you wish to be notified of
1 parent 7206502 commit 4364aa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DADynamoApp/DAEntrypoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public void HandleDesignAutomationReadyEvent(object sender, DesignAutomationRead
429429
}*/
430430

431431
// Save locally
432-
doc.SaveAs(setupReq.LocalModelFileName);
432+
doc.SaveAs(Path.Combine(WorkItemFolder, setupReq.LocalModelFileName), new SaveAsOptions() { OverwriteExistingFile = true });
433433
}
434434
}
435435
catch (Exception ex)

0 commit comments

Comments
 (0)