# Revit Template with Hyperlink Object to point dynamo to play folder

**URL:** <https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [February 23, 2018, 4:34pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385 "2018-02-23T16:34:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron\_Allen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ron_allen/32/124849_2.png) [@Ron\_Allen](https://forum.dynamobim.com/u/Ron_Allen)\
**Post date:** [February 23, 2018, 4:34pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/1 "2018-02-23T16:34:36Z")

</div>

Anyone seen any or have ideas on how to incorporate a link in Revit templates to point Dynamo to a particular project’s library folder?

I.e. Start a template - then on the front splash page click a object link to point dynamo player to a specific folder to play e.g. Load worksets, Link to excel, etc?

Be great if we could incorporate the Dynamo settings in the templates!

---

<div class="post-metadata">

**Author:** ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)\
**Post date:** [February 23, 2018, 7:49pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/2 "2018-02-23T19:49:01Z")

</div>

You could probably wright a dynamo script to direct the player to a folder. I know you can do this for dynamo for the recent files shown on the home screen. Place these scripts in every dynamo player folder and then you could change between them?

I guess you could add some project parameters (maybe a global parameter) and input the info needed to run a graph. Then write your scrips to read that parameter rather than a direct user input.

Food for thought. I have not tried any of these.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 23, 2018, 8:13pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/3 "2018-02-23T20:13:20Z")

</div>

We have a batch file that runs on everyone’s machine and sets all their Dynamo settings files to the locations that we want. If you want to do this on a project level you could get the current model location and use that to find the local Dynamo folder for the given project and then specify that location in the user’s settings file. It would probably require a batch routine somewhere. Or you’d have to have a Dynamo script created that would do it for you. But then you have the same problem of getting the user to run the correct Dynamo script to setup their project location.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 24, 2018, 1:10am UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/4 "2018-02-24T01:10:45Z")

</div>

> [@Nick\_Boyts](#):
>
> If you want to do this on a project level you could get the current model location and use that to find the local Dynamo folder for the given project and then specify that location in the user’s settings file.

This would work, but changing between projects would be difficult.

Out of curiosity, are your dynamo player scripts that different between projects that you have multiple script repositories instead of one which is reused on all jobs with variable inputs?

---

<div class="post-metadata">

**Author:** ![Ron\_Allen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ron_allen/32/124849_2.png) [@Ron\_Allen](https://forum.dynamobim.com/u/Ron_Allen)\
**Post date:** [February 25, 2018, 5:51am UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/5 "2018-02-25T05:51:41Z")

</div>

Correct. And I don’t want to overwhelm my users with lists of hundred or so scripts when 2 to 5 specific per project is all they will need. (I.e. create work sets different per client)

---

<div class="post-metadata">

**Author:** ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)\
**Post date:** [February 26, 2018, 11:43pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/6 "2018-02-26T23:43:51Z")

</div>

If everyone has there own 2 to 5 scrips how do you handle updating them? I guess you could create a dynamo graph for that as well but seams easy to have things fall through the cracks.

---

<div class="post-metadata">

**Author:** ![Ron\_Allen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ron_allen/32/124849_2.png) [@Ron\_Allen](https://forum.dynamobim.com/u/Ron_Allen)\
**Post date:** [February 27, 2018, 9:27pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/7 "2018-02-27T21:27:25Z")

</div>

Central library where those scripts reside per client (not per person).  
Librarians maintain manage and update the library as needed.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [March 1, 2018, 8:42pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/8 "2018-03-01T20:42:55Z")

</div>

I think the main issue here is that the files that determine the Dynamo Player “library” are encrypted. It’s not as easy as saying “point to this location.”

I’ve played around with something similar for standardized program libraries. But in order to do this I have to manually copy those encrypted files for each program library I want. The process looks something like this:

1. Manually point Player to Library1.
2. Copy encrypted files to Lookup Folder/Library1.
3. Repeat Step 1 and 2 for Library2, Library3, etc.

The goal here is to set up a directory that has the encrypted “library” files for each program I have. Then I can run my Dynamo script that has the user select a program, and overwrites the user’s current settings with the encrypted “library” files from the specified program’s lookup location.

So if you wanted to do this for specific projects you would have to manually create a lookup for each project using Dynamo. It’s possible, but it’s a lot of work. Maybe you could write a Dynamo script to do it for you… 😉

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [March 2, 2018, 2:07am UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/9 "2018-03-02T02:07:29Z")

</div>

Seems like the only way to change the player settings is to copy the entire “settings” folder from machine to machine … yuck

> [@Revit 2017.1 Dynamo player](https://forum.dynamobim.com/t/revit-2017-1-dynamo-player/6729/22):
>
> Hi , Until the option of customized deployment of Dynamo Player is provided in a more friendly way , here is an workaround : The “history” of DynamoPlayer and by “history” I mean last scripts folder used , window size and position is located here : "c:\Users\YOURUSER\AppData\Local\dynamoplayer\User data\dynamoplayerinstance 1" It is possible to see here more than one instance directory : …\dynamoplayerinstance 2 …\dynamoplayerinstance 3 This happens if you are using multiple instances of …

If you’re really determined to do this, you can probably have some document macro in Revit that deletes all folders in 'c:\Users\YOURUSER\AppData\Local\dynamoplayer\User data' and replaces it with a new one that has the correct path (which you could for example store together with the project)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [March 2, 2018, 2:35pm UTC](https://forum.dynamobim.com/t/revit-template-with-hyperlink-object-to-point-dynamo-to-play-folder/19385/10 "2018-03-02T14:35:19Z")

</div>

In order to change where Dynamo Player defaults to looking for scripts you only need to copy the two encrypted files located here: `AppData\Local\dynamoplayer\User data\dynamoplayerinstance 1\Default\Local Storage`

There’s another file (I think `Preferences`) that forces the directory to open to the same location, but that’s not necessary to get this process to work.

This is the graph I use:

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/3/430a78ded955d25a5f1c62cb5e76e40841b51eba.png)
