Set Project Parameter Vaule to Specific Categories

Hi,

Simple question here, I have created a project parameter for a range of categories, and it’s not showing up in the element parameters list. What is the workaround to apply values to the project parameter for the assigned categories as indicated from the screenshot?

Much appreciated
Kevin


I get the project parameter easily! Check if there is the correct category set. KR Andreas

It’s a bit odd because ProjectParameterByCategory shows the ScheduleCategory parameter while Element.Parameters don’t show it. Any other suggestions?

Forgot to mention that it’s a type parameter instead of instance.

That definitely makes a difference!

The key here is to get the family types instead of the elements (instances). I suggest installing the Clockwork package so you can use the ‘All Family Types of Category’ node as shown here.

I’m currently using Clockwork for Dynamo 2.x (v2.1.0) and Dynamo 2.0.3 but it should work in most versions of 2.x for either Dynamo or the package.

Thanks for that. I also just figured out that it’s missing the Element.ElementType node prior to setting the parameter value.This would allow me to access all the type information

Yes that also works, however if you have multiple placements of the elements it may set the parameter multiple times. Placing a ‘List.UniqueItems’ after the element type node would reduce them down to a types list of those placed.

Keep in mind that the elements nodes will not obtain types of unplaced elements also - this may be what you’re after. If you want to impact types not placed, I would suggest using the Clockwork node instead.

Thanks a lot for sharing the great tips. I will let you know if I come across any issues with the Clockwork approach.

1 Like

No worries - it’s a brilliant package, lots of great features. I rate it and archilab very highly.