Closed reddyashish closed 1 year ago
set splash screen's parent as revit window.
I think should be like:
IntPtr mwHandle = commandData.Application.MainWindowHandle;
new WindowInteropHelper(splashScreen).Owner = mwHandle;
similar to InitializeCoreView
which dynamo core version can be tested with the interface OnRequestLaunchDynamo
?
latest 2.17 build: DynamoCoreRuntime_2.17.0.3467
@reddyashish I think a nuget push is needed?
@mjkkirschner DynamoCoreRuntime Nuget? That version is present https://art-bobcat.autodesk.com/ui/repos/tree/General/team-dynamo-nuget/DynamoVisualProgramming.DynamoCoreRuntime.2.17.0.3467.nupkg
If you wish to have the new API buildable in DynamoRevit then it needs to be pushed to public nuget in the DynamoCore nuget etc. (not artifactory)
this repo does not reference the artifactory nugets (it should be buildable for third parties outside adsk)
@mjkkirschner @reddyashish I have pushed the newer version for you
Thanks @QilongTang. I added the change to set Revit window as the owner of splash screen window.
Purpose
This PR is to address the following cases: 1) Disabling the Dynamo button in Revit as soon as the splash screen is created. This will not allow multiple instances being launched, when the splash screen is loading. 2) Disabling the Dynamo button when Dynamo main window is launched from splash screen. 3) Setting the parent for splash screen window.
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@QilongTang @wangyangshi