ScheduleView. AddFields

#1

Hi all,

I am new using Dynamo, I am trying to create a schedule that I can copy as many times as I need to use it with different categories,
My idea is that the input field could have a list of project parameters that does not vary according to the category
I have generated a script but it does not work, I understand that the only input accepted by the ScheduleView.AddFields node is ScheduleView.SchedualbleFields, I attach the script to see if someone can take a look and help me…

crear taula.dyn (32.3 KB)

#2

image

#3

Hi ingenieroahmad,

thanks for your answer
I already had that solution clear,
but my intention is to generate a list of project parameters that affect several categories, not the parameters of a particular category, since if I do it as you indicate each list has different indexes and I would have to modify the indexes that indicate the parameters that I want each time I change the category
I would like to have to change only the category to the beginning of the script, and nothing else

#4

Make a list of the categories you want a schedule from and feed that list into the Category input of the Create Schedule Node.

The part about adding the parameter straight into the AddFields Nodes is not correct, you need to find the SchedulableFields with the correct name. So get all Scheduleable Fields, get their Name, Filter for your parameters and add the Field (Not the Parameter) to the Schedule through the AddField Node.

#5

Hi Bjorn!

Thanks for your indications!

your advice has worked a half, the script generates the schedules but only the first has all the columns with their parameters, the other just have 1 column…

I have tried different outputs for the fields but I don’t get it …

Any more ideas?