I am getting error as in the attached image, while i try to get centroid values for door family files.
It shows that solids did get made as union.
I have checked and found some lines (lines needed, should not delete) only cause this error.
So, how to ignore lines to get solids only?
You could use Object.Type
or Object.Identity
to retrieve the object’s type and filter it? There might be a custom node for this aswell.
Why bother grabbing the lines if you don’t want them? Assuming your previous node was Element.Geometry, swapping it for Element.Solids could make quick work: Dynamo Dictionary
checked with Element.solids node, but getting same warnings.
Door family in this attached project file cause this error, could you please check and tell me?
Attached my files for your reference. Anticipating your response.Sample project_COG.rvt (2.3 MB) Small one.dyn (22.7 KB)
HI solamour,
thanks for your reply with snap.
We tried this. But, still getting errors. attached files. please can you please check and reply?
It seems, Doors in this attached project file cause this error.
Sample project_COG.rvt (2.3 MB) COG for Revit elements.dyn (29.8 KB)
Hi @velraj.a - I think I’ve solved your problem as below:
Velraj-COG_for_Revit_Elements.dyn (39.7 KB)