I’m Making a script that first makes a bunch of sheets and views and then put the view on the sheets.
The Sheet part is working…
However coming to the view part, I have made the views however I can’t apply a view template to the view, I have tried by both changing the parameters ( Doesn’t work as not as parameter is not in string form!) and using the node change view template. Both are not working.
The way I have it set up right now, is in the excel doc I assign the template; then I want to find a way to turn that into a template.
I also have tried the Archi Node, but my Dynamo is now 1.3 and that node is too out dated for it
Here is the script image is below.
Sorry for the delay, been busy recently and it fell to the back of my mind.
Below is an example of the set-up, it is very basic, it would need some formating to get the right templates into the right views.
the templates are Elements with parameters and information about them, so I get the view and change the view template parameter to a different view template, what I was doing before is inputting the name of the template instead of the template element.
I created a small group that will take the view template name or part of name (or a list of names- in the attached case imported from excel), and returns the view template element that could be used to feed Element.setparameterby name. It will be easier to create a custom node out of it, but since I am still learning I prefer to keep things expanded.
There are also two packages that work with 2020 and can get the template name a bit easier for a single template (see image 2 and 3). But I prefer to use basic Dynamo nodes at this stage of learning.
I am having similar issues. I am trying to assign a view template to a filtered list of views. I have the filtered list feeding the Set Parameter my name, got View Template set as the name and Synthetic Get view template by name feeding the template. Still getting Dereferencing Non-pointer error. I searched for null and all the views appear to have valid names the template is valid. Any ideas?