How to make dynamo fill in a schedule column


Connect All elements of Category to GroupByKey, then place GetParameterValueByName (Family and Type) at the end of SortByKey

You are getting that error, because you are calling Instance parameter with Element Types.
Type parameters ----> Element Type (Family Types)
Instance parameter -----> Element Instance (placed elements)

1 Like

Watch your list levels and lacing after you do the above. :slight_smile:

Okay but so how do I get it to use the Instance Parameter? Or is it not possible? I don’t seem to be able to find any nodes related to this?

try that
it should work
Capture

I tried it, the run started but it keeps on running… I force quit the program, tried again, but it just keeps running/appears to be ‘stuck’…

and yet there is not much calculation
Home…dyn (25.9 KB)

When you call All elements of Category, you get your placed elements in your project, if you use GetParameterValueByName on those elements, you are getting Instance parameters. If you call GetParameterValueByName with “Family and Type” parameter name, and then use GetParameterValueByName you are getting Type parameters.

I don’t get what’s wrong with this…

You are trying to set Type Parameter with Instance elements.

You need to get Element Type for your Element Input.
image

you downloaded the last?
Capture

Maybe I should clarify my situation a bit more:

We have 1 family for window X and 1 family for window Y.
X = open window
Y = fixed window

We have 1 family for each, but we would like to have each size of these to have a different keynote so we can count and list them by each unique size. We don’t want a new family for each size.

X = open window > 40.12.11.AX
Y = fixed window > 40.12.21.BX

I guess it would be also possible to sort and filter these in a schedule with the keynote parameter not filled in and import a column from excel?

already test it
and come back to us
Home…dyn (25.9 KB)

Yes i downloaded the dynamo file you uploaded and it says ‘no parameter found by that name’ and there clearly is a parameter with that name… I don’t get why it’s giving that error…

is it a parameter type or an instance?

1 Like

Not to belabor the point, but…

Would it help if you have the revit file?

Okay So I guess my Height and Width are now instance parameters and my keynote is not. Is there a way to make the keynote an instance parameter? Because up until now I’ve only seen it for dimensions…

Go to family and change that parameter to Instance :slight_smile: . I didnt want to suggest that, because i dont know your company policy about parameters :slight_smile:

Yeah I just talked to our BIM expert and he said the same, we just changed the keynote to instance, I’ll run it again and let you guys know!

1 Like

For some reason, still an error…
And they are all instance parameters now…


Capture15