How do I use a .dyn script instead of a .py script in a bundle?

When I first got into pyRevit I was able to use a dynamo file as the script in the bundle, but now I get a message saying: “can not find target file”. I am pretty sure that I have things set up correctly…can anyone give me some clues as to how to use .dyn files in the bundles?

Hi @EENagel and welcome,
the main thing is to name the script with script.dyn minimally but that could be whateverthename_script.dyn
to make it run in automatic (Haven’t tried that specifically if it has a built in UI to make it like this one (dyn with UI))
you will find an example here:

or another one here

or a new one coming here that will be an extension to create bundles