DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
340 stars 188 forks source link

When clicking script to edit inputs in Dynamo player with Dynamo open. Dynamo attempts to close script and open selected Player script #3039

Closed jake1108 closed 9 months ago

jake1108 commented 9 months ago

Dynamo Version

2.19.3.10292

Revit Version

2024.2

Operating System

Windows 11

What did you do?

I was editing a script in Dynamo. I then proceeded to open Dynamo Player with the desire to run a script (not the one I had open in Dynamo). I clicked on the desired script to run in Player so that I could edit its inputs.

What did you expect to see?

I expected my Dynamo session to stay as it is and my Player to open my inputs for editing of the other script which I selected.

What did you see instead?

I saw the "Do you want to save" prompt in Dynamo. I then had to save the script after which it was automatically closed and the script that I had selected in Dynamo player was opened for me in Dynamo.

Stacktrace/logs

No response

Details

No response

BogdanZavu commented 9 months ago

Hi, this is currently the expected behavior. We always use the existing instance of Dynamo which can have UI or not. ( When Dynamo with UI is not present there is actually a Dynamo without UI that handles requests from Player ). When you click on a graph card we need to open the graph in Dynamo in order to extract the information needed.