Method 1. is my primary solution. But I keep getting null values or empty list.
What am I doing wrong?
Method 2. I think I can filter the largest components and then collect the corner xyz-points and then use some vector in space calculation. I don’t think this method is the best way, becuase we need this area information on all projects.
You need to get the member elements of the AssemblyInstance before passing through the Element.Solids node Clockwork package has a node Assembly.Members that will work
Ah yes, sorry I misunderstood from the screenshot you shared get rid of the List.MaximumItem node at the end and replace it with a Math.Sum node and set the values input @L2 (I think that should work but am not on a computer with dynamo to test)
The only flaw of this process is that if assemblies are not parallel to X and Y axis, the bounding box is not exact and then the surface is wrong. I believe this was sorted on other topics on the forum, cannot remember where now.
I allso created a container object, that allways return the largest area surface as an workaround, until I find the post/topic whit the solution for assemblies that is not parallel to X and Y axis.