Skip to content

Commit 64eafa2

Browse files
committed
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 ? (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. 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. (FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR) (FILL ME IN, optional) Any additional notes to reviewers or testers. (FILL ME IN, Optional) Names of anyone else you wish to be notified of
1 parent 080585f commit 64eafa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DADynamoApp/DAEntrypoint.cs

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

448448
// Save locally
449-
doc.Save();
449+
doc.SaveAs(Path.Combine(WorkItemFolder, setupReq.LocalModelFileName), new SaveAsOptions() { OverwriteExistingFile = true });
450450
}
451451
}
452452
catch (Exception ex)

0 commit comments

Comments
 (0)