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?
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.
Hi all,
I am a “newbee” to Dynamo and I need some assistance.
My intention with this graph is to automatically count the number of sheets used in the project, and then to read the value into a “pagecount” project parameter. I am hitting dead ends with this error.
the warning states the storage type is not a number, try add object to string after list.count and use that output to value.
In addition, make sure you have a project parameter setup under “Page Count”, in my case above, I did it as a instance parameter.