DynamoWishlist icon indicating copy to clipboard operation
DynamoWishlist copied to clipboard

Wish: Template capability

Open andydandy74 opened this issue 9 years ago โ€ข 21 comments

It would be great if we could specify a *.dyn template file that is opened each time a user creates a new workflow. This would help a lot with maintaining graph annotation standards across a multi-user environment.

andydandy74 avatar Feb 18 '16 17:02 andydandy74

+1

josols avatar Feb 19 '16 20:02 josols

+1. Apart from standards consistency in a practice environment, it would also help get new users up and running quicker. We already have Grasshopper templates for example, so we'd be looking to align them. Is this being worked on @Racel ?

radumg avatar Feb 19 '17 19:02 radumg

@radumg - Not exactly. This particular feature is not in our short term roadmap, but we may be able to address the "reason" for this wish in a different way in the next implementation of Dynamo that we are working on.

@andydandy74 @radumg @eibre - what kind of things are you looking to add to this template and what do you want to accomplish by using this template? Do you want to make sure that all inputs are colored or grouped a certain way? Do you want to ensure names of nodes are consistent?

Racel avatar Feb 21 '17 19:02 Racel

@Racel - Our template contains a basic graph layout that illustrates all the rules of our style guide. The goal is for every graph to adhere to those rules so that users will find it easier to interact with the graphs (e.g. group colours based on functionality, positions of input and output elements, documentation style etc.).

andydandy74 avatar Feb 21 '17 21:02 andydandy74

@Racel , yes to your questions above (colouring, grouping) and i'll second what @andydandy74 said above. To illustrate, here's a few examples.

This one is by Mark (now DesignTech.io) and as close as it gets to what we use at the office. designtech source : http://designtech.io/tools/door-renumbering/

Another great example is the post by White Arkitekten. The standard they shared is very popular and I myself used it at a previous practice. white source : http://dynamobim.org/dynamo-graphic-standards-at-white-arkitekter-ab/

radumg avatar Feb 21 '17 22:02 radumg

Thanks @andydandy74 and @radumg - That is helpful....

So, all we need is the following:

  • A way to specify the file path to the template dyn
  • A way to enable/disable the template (should this happen on new file creation or as a global setting?)

After talking with @mjkkirschner - This seems pretty straight forward. Will file a task for this and we will figure out how to get it in after 1.3.

Racel avatar Feb 22 '17 18:02 Racel

Perhaps the easiest soluton would be to have it in DynamoSettings.xml only:

  • Use a template if a path is specified, otherwise use the default workspace
  • No need to expose this in the UI since in most cases a template will be used in deployments and users should not be able to disable it effortlessly

andydandy74 avatar Feb 22 '17 21:02 andydandy74

what @andydandy74 said ๐Ÿ‘

radumg avatar Feb 23 '17 00:02 radumg

Thanks @andydandy74 and @radumg - That makes this a bit easier.

Racel avatar Feb 23 '17 14:02 Racel

Also, Python editor template would be nice...:-) just saying what these guys are saying. https://github.com/DynamoDS/Dynamo/issues/7604

ksobon avatar May 17 '17 01:05 ksobon

@Racel can you please comment on these enhancement requests? @Dewb @kronz FYI

smangarole avatar Aug 14 '17 15:08 smangarole

@smangarole FYI, Python editor template is awaiting team feedback in PR DynamoDS/Dynamo#8034 and I can then finish implementing it. Also planning to add DYN template support after that using similar mechanisms.

radumg avatar Aug 14 '17 16:08 radumg

@radumg Thanks for the reply. We have your PR in review/testing. Will send you an update once it's merged. Thanks again for the PR.

smangarole avatar Aug 21 '17 15:08 smangarole

Thanks @smangarole - that PR will be changing tonight as i incorporate feedback, will give you a mention there when it's done.

radumg avatar Aug 21 '17 15:08 radumg

@smangarole , please check out PR DynamoDS/Dynamo#8122 for the updated version of the PR. cheers!

radumg avatar Aug 21 '17 23:08 radumg

Any updates to DYN template ?? i dont see it implemented in 2.0.1

ondejcik avatar Sep 10 '18 14:09 ondejcik

Hey @ondejcik , made a prototype of this back in Feb for the extensions workshop but unfortunately I havenโ€™t had time to finish it since then ๐Ÿ˜” Might try and pick it up soon ๐Ÿ˜Ž but canโ€™t promise anything ๐Ÿ˜‡

radumg avatar Sep 10 '18 17:09 radumg

FYI: You can try out the DynaMonito view extension. It adds template capability to Dynamo. https://github.com/andydandy74/Monito/releases

andydandy74 avatar Sep 12 '18 16:09 andydandy74

Hello all, is this function standard yet ?

SpaceArchitecture avatar Jan 23 '23 18:01 SpaceArchitecture

Hey @ondejcik , made a prototype of this back in Feb for the extensions workshop but unfortunately I havenโ€™t had time to finish it since then ๐Ÿ˜” Might try and pick it up soon ๐Ÿ˜Ž but canโ€™t promise anything ๐Ÿ˜‡

It seems like it was pretty close, any updates on that ?

SpaceArchitecture avatar Jan 23 '23 18:01 SpaceArchitecture

Hey @ondejcik , made a prototype of this back in Feb for the extensions workshop but unfortunately I havenโ€™t had time to finish it since then ๐Ÿ˜” Might try and pick it up soon ๐Ÿ˜Ž but canโ€™t promise anything ๐Ÿ˜‡

It seems like it was pretty close, any updates on that ?

Hi @SpaceArchitecture - We currently have support for a Python template, but not yet a "Dynamo Template" upon start. Dynamo 2.17 (Our latest release) does however have the Insert Graph feature that you can use to insert a template should you wish.

Amoursol avatar Jan 23 '23 19:01 Amoursol