Dynamo for copy filters

Setting filters in a view template and then transferring them to a new template in the classic way takes a long time. In this post I will show you my script to copy override filter settings between view templates.

In post “Dynamo for copy filters” :

Script work

The script was created to quickly manage the created filters. Often when working in a model, we encounter tedious tasks. One of them is setting filters for individual templates. When we start a project, it is not difficult to copy one already overwritten template and create a new one based on it. The problem arises when we are already working and we have all the views set up. Replacing them is time consuming and may involve unnecessary work. That’s why I’d like to show you my solution! Such a script can be set in such a way that it can be controlled from the dynamo player.

As input arguments, the templates of the base view (from which we download the overwritten filters) and the template to which we want to copy our settings are set. We can not only choose projection templates, but we can also copy the settings of other views. When we set the templates, we press the play button and the script copies the settings to us.

Dynamo for copy filters

The construction of the script is simple and consists of basic built-in “tiles”. We can divide it into three parts. In the first part, we specify the templates between which we want to copy. In the second step, we read the filter settings in the source view. The last step is responsible for overwriting the filters in the new template.

Dynamo for copy filters

Summary

Below I also put a short video in which I show the practical use of the script for copying filters. If you have any questions or are interested in extending the functionality of the above dynamo, please contact me.

See also:

Paweł Kińczyk
Paweł Kińczyk
Articles: 72

Newsletter

Chcesz być na bieżąco? Zapisz się do newslettera!

Leave a Reply

Your email address will not be published. Required fields are marked *