From 7e555418b1d0c7d7e5bd50a27aade68d90c8527c Mon Sep 17 00:00:00 2001 From: "Aaron (Qilong)" <173288704@qq.com> Date: Mon, 10 Jun 2024 11:20:31 -0400 Subject: [PATCH] Update 1_entryPoint.md --- doc/integration_docs/1_entryPoint.md | 38 ---------------------------- 1 file changed, 38 deletions(-) diff --git a/doc/integration_docs/1_entryPoint.md b/doc/integration_docs/1_entryPoint.md index d05275f79ef..0d5e1007972 100644 --- a/doc/integration_docs/1_entryPoint.md +++ b/doc/integration_docs/1_entryPoint.md @@ -21,44 +21,6 @@ To Initialize the `DynamoModel`, integrators will need to do these steps from so ### Preload shared Dynamo Dlls from host. Currently the list in D4R only includes `Revit\SDA\bin\ICSharpCode.AvalonEdit.dll.` This is done to avoid library version conflicts between Dynamo and Revit. E.g. When conflicts on `AvalonEdit` happen, the function of code block can be totally broken. The issue is reported in Dynamo 1.1.x at https://github.com/DynamoDS/Dynamo/issues/7130 and, also manually reproducible. If integrators found library conflicts between host function and Dynamo, it is suggested to do this as a first step. This is sometimes required to stop other plugin or the host application itself from loading an incompatible version of as shared dependency. A better solution is to resolve the version conflict by aligning the version - or to use a .net binding redirect in the host’s app.config if possible. - -### Initialize UpdateManager - -The UpdateManager component checks for the dynamo product updates by requesting update version info from configured download source path (AWS S3 bucket link). It skips the update if the user’s local version is newer than the version online. - -To create an `updateManager` object, first the users disk is searched for a config - in the file named UpdateManagerConfig.xml, and created if it does not exist using `UpdateManagerConfiguration` default constructor with default values. Then an `UpdateManager` is created using that config. - -The config looks like: -``` xml - - -http://dyn-builds-data.s3.amazonaws.com/ - -http://dyn-builds-data-sig.s3.amazonaws.com/ - -false - -false - -DynamoInstall - -false - - -``` - -Although `UpdateManager` has not been obsoleted in code at this time, it has been disabled in a different way after Dynamo 2.1.x in DynamoRevit since -Dynamo installers are no longer delivered to the AWS S3 bucket as Dynamo releases. - -Dynamo deliveries are now named starting with DynamoCoreRuntime instead of DynamoInstall,and the build scan code will no longer work to indicate the latest build for users since the InstallerNameBase is still DynamoInstall. It also no longer makes sense with how Dynamo Revit is delivered at this time. - -If you would like to disable automatic Dynamo update for your integration, please follow the example by Revit team here to set DisableUpdates to false under UpdateManager.Configuration. - -``` c# -if(revitUpdateManager.Configuration is IDisableUpdateConfig) - - (revitUpdateManager.Configuration as IDisableUpdateConfig).DisableUpdates=true; -``` ### Loading ASM