I have created a custom DynamoSettings.XML files for deployment to the users. We like to copy all the Packages, Scripts, DynamoSettings.xml etc to the users machines.
In the DynamoSettings.xml I have used environment variables like %AppData% and %USERPROFILE% (it seems maybe this is the problem and it does not change to the username when the users starts Dynamo for the first time with the DynamoSettings.xml).
I also have included settings that are only available for Dynamo 3.03, so I can manage just one DynamoSettings.xml instead of multiple (Is this a problem for Dynamo to load the DynamoSettings.xml at all ?)
In Addition I have resorted everything alphabetical in the DynamoSettings.xml, so it has the same order as in our documentation and thus it is easier to manage.
Snippet from our DynamoSettings.xml Documentation:
<?xml version="1.0"?>
<PreferenceSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<BackupFiles>
<string>%AppData%\Dynamo\Dynamo Revit\backup\backup.DYN</string>
</BackupFiles>
<BackupFilesCount>1</BackupFilesCount>
<BackupInterval>60000</BackupInterval>
<BackupLocation>%AppData%\Dynamo\Dynamo Revit\backup</BackupLocation>
<ConnectorType>BEZIER</ConnectorType>
<ConsoleHeight>0</ConsoleHeight>
<CustomPackageFolders>
<string>%BuiltInPackages%</string>
<string>%AppData%\Dynamo\Dynamo Revit\2.19\packages\</string>
<string>C:\ProgramData\Autodesk\RVT 2024\Dynamo\2.19\packages</string>
</CustomPackageFolders>
<DefaultEnableLegacyPolyCurveBehavior>false</DefaultEnableLegacyPolyCurveBehavior>
<DefaultNodeAutocompleteSuggestion>MLRecommendation</DefaultNodeAutocompleteSuggestion>
<DefaultPythonEngine />
<DefaultRunType>Manual</DefaultRunType>
<DefaultScaleFactor>0</DefaultScaleFactor>
<DisableBuiltinPackages>false</DisableBuiltinPackages>
<DisableCustomPackageLocations>false</DisableCustomPackageLocations>
<DisableTrustWarnings>true</DisableTrustWarnings>
<DynamoPlayerFolderGroups>
<DynamoPlayerFolderGroup>
<EntryPoint>dplayer</EntryPoint>
<Folders>
<DynamoPlayerFolder>
<Path>%USERPROFILE%\Dokumente\DynamoDateien\DynamoScripts_2.19</Path>
<DisplayName>DynamoScripts_2.19</DisplayName>
<Id>1716475747488</Id>
<IsRemovable>true</IsRemovable>
<Order>2</Order>
<IsValid>true</IsValid>
<IsDefault>false</IsDefault>
</DynamoPlayerFolder>
<DynamoPlayerFolder>
<Path>%USERPROFILE%\Dokumente\DynamoDateien\Ordner1</Path>
<DisplayName>Ordner1</DisplayName>
<Id>1717513402769</Id>
<IsRemovable>true</IsRemovable>
<Order>2</Order>
<IsValid>true</IsValid>
<IsDefault>false</IsDefault>
</DynamoPlayerFolder>
<DynamoPlayerFolder>
<Path>%USERPROFILE%\Dokumente\DynamoDateien\Ordner2</Path>
<DisplayName>Ordner2</DisplayName>
<Id>1717513407925</Id>
<IsRemovable>true</IsRemovable>
<Order>3</Order>
<IsValid>true</IsValid>
<IsDefault>false</IsDefault>
</DynamoPlayerFolder>
<DynamoPlayerFolder>
<Path>%USERPROFILE%\Dokumente\DynamoDateien\Ordner3</Path>
<DisplayName>Ordner3</DisplayName>
<Id>1717513412614</Id>
<IsRemovable>true</IsRemovable>
<Order>4</Order>
<IsValid>true</IsValid>
<IsDefault>true</IsDefault>
</DynamoPlayerFolder>
</Folders>
</DynamoPlayerFolderGroup>
</DynamoPlayerFolderGroups>
<EnableNodeAutoComplete>true</EnableNodeAutoComplete>
<EnableNotificationCenter>false</EnableNotificationCenter>
<GraphicScaleUnit>Meters</GraphicScaleUnit>
<GridScaleFactor>1</GridScaleFactor>
<GroupStyleItemsList>
<GroupStyleItem>
<Name>Aktionen</Name>
<HexColorString>B9F9E1</HexColorString>
<IsDefault>true</IsDefault>
<FontSize>36</FontSize>
<GroupStyleId>4d68be4a-a04d-4945-9dd5-cdf61079d790</GroupStyleId>
</GroupStyleItem>
<GroupStyleItem>
<Name>Eingaben</Name>
<HexColorString>FFB8D8</HexColorString>
<IsDefault>true</IsDefault>
<FontSize>36</FontSize>
<GroupStyleId>883066aa-1fe2-44a4-9bd1-c3df86bfe9f6</GroupStyleId>
</GroupStyleItem>
<GroupStyleItem>
<Name>Ausgaben</Name>
<HexColorString>FFC999</HexColorString>
<IsDefault>true</IsDefault>
<FontSize>36</FontSize>
<GroupStyleId>07655dc1-2d65-4fed-8d6a-37235d3e3a8d</GroupStyleId>
</GroupStyleItem>
<GroupStyleItem>
<Name>ĂśberprĂĽfung</Name>
<HexColorString>A4E1FF</HexColorString>
<IsDefault>true</IsDefault>
<FontSize>36</FontSize>
<GroupStyleId>bc688959-ce34-4bf5-90f8-6ddd23f80989</GroupStyleId>
</GroupStyleItem>
<GroupStyleItem>
<Name>sdfs</Name>
<HexColorString>3E99BE</HexColorString>
<IsDefault>false</IsDefault>
<FontSize>36</FontSize>
<GroupStyleId>890cdba0-0839-4b59-a488-20b30875df52</GroupStyleId>
</GroupStyleItem>
</GroupStyleItemsList>
<HideAutocompleteMethodOptions>false</HideAutocompleteMethodOptions>
<HideNodesBelowSpecificConfidenceLevel>false</HideNodesBelowSpecificConfidenceLevel>
<IronPythonResolveTargetVersion>2.5.0</IronPythonResolveTargetVersion>
<IsAnalyticsReportingApproved>false</IsAnalyticsReportingApproved>
<IsBackgroundGridVisible>true</IsBackgroundGridVisible>
<BackgroundPreviews>
<BackgroundPreviewActiveState>
<Name>IsBackgroundPreviewActive</Name>
<IsActive>true</IsActive>
</BackgroundPreviewActiveState>
<BackgroundPreviewActiveState>
<Name>IsRevitBackgroundPreviewActive</Name>
<IsActive>true</IsActive>
</BackgroundPreviewActiveState>
</BackgroundPreviews>
<IsFirstRun>false</IsFirstRun>
<IsTimeStampIncludedInExportFilePath>true</IsTimeStampIncludedInExportFilePath>
<LibraryWidth>361</LibraryWidth>
<LibraryZoomScale>100</LibraryZoomScale>
<Locale>de-DE</Locale>
<MaxNumRecentFiles>1</MaxNumRecentFiles>
<MLRecommendationConfidenceLevel>10</MLRecommendationConfidenceLevel>
<MLRecommendationNumberOfResults>10</MLRecommendationNumberOfResults>
<NamespacesToExcludeFromLibrary />
<NodeSearchTagSizeLimit>300</NodeSearchTagSizeLimit>
<NumberFormat>f3</NumberFormat>
<OpenFileInManualExecutionMode>true</OpenFileInManualExecutionMode>
<PackageDirectoriesToUninstall />
<PackageDownloadTouAccepted>true</PackageDownloadTouAccepted>
<PythonScriptZoomScale>100</PythonScriptZoomScale>
<PythonTemplateFilePath>%AppData%\Dynamo\Dynamo Revit\2.19\pythontemplate\pythontemplate_2.19.py</PythonTemplateFilePath>
<RecentFiles>
</RecentFiles>
<RenderPrecision>128</RenderPrecision>
<SelectedPackagePathForInstall>%AppData%\Dynamo\Dynamo Revit\2.19</SelectedPackagePathForInstall>
<ShowCodeBlockLineNumber>true</ShowCodeBlockLineNumber>
<ShowConnector>true</ShowConnector>
<ShowConnectorToolTip>true</ShowConnectorToolTip>
<ShowDetailedLayout>true</ShowDetailedLayout>
<ShowEdges>false</ShowEdges>
<ShowPreviewBubbles>true</ShowPreviewBubbles>
<ShowRunPreview>true</ShowRunPreview>
<ShowTabsAndSpacesInScriptEditor>true</ShowTabsAndSpacesInScriptEditor>
<TrustedLocations>
<string>C:\ProgramData\Autodesk</string>
<string>C:\Program Files\Autodesk</string>
<string>%AppData%\Dynamo\Dynamo Revit\2.19\packages\</string>
<string>%USERPROFILE%\Dokumente\DynamoDateien\DynamoScripts_2.19\</string>
</TrustedLocations>
<UseHardwareAcceleration>true</UseHardwareAcceleration>
<UseHostScaleUnits>false</UseHostScaleUnits>
<WindowH>768</WindowH>
<WindowW>1024</WindowW>
<WindowX>0</WindowX>
<WindowY>0</WindowY>
</PreferenceSettings>
DynamoSettings.7z (1.9 KB)