Is it possible to create a popup window after Dynamo Player has been run using Dynamo player and Data-Shapes?



Hello everyone,

I am using the Data-Shapes package to gather input from users that helps them display plumbing calculations. Data-Shapes is working flawlessly in terms of popping up and asking for input once users run the script through Dynamo player. I am wanting to know if it is possible for another popup window to appear after completing the calculations that displays what is in my final watch node. I have attached two images showing the overall node layout and the final output I would like displayed in a popup window. I can find a lot of information online about gathering input types but nothing about displaying output. Thanks for the help in advance!


Popup windows can be triggered via some python as shown on this thread:



@christianjgentry I think this is what you are after. You can add the following code to your python script:


import clr

from System.Windows.Forms import Form,Label

def popup(text):
	form = Form()
	form.Width = 300
	form.Height = 100	
	label = Label()
	label.Text = text
	label.Width = 280
	label.Height = 70
	label.Parent = form	

Show Value in Revit

Wow, this is exactly the solution that I was looking for. Thank you for your help @salvatoredragotta! I will look into the System.Windows class further as this seems very powerful. Thank you again.