Element.GetCatCategory

Hello,
I have a list of points and lines, using the Element.GetCategory node I got a null and the following error:
Warning: Element.GetCategory expects argument type(s) (Revit.Elements.Element), but was called with (Autodesk.DesignScript.Geometry.Geometry[])
Any idea why is that?
Thanks

image

Element.GetCategory is for determining the category of Revit elements. Dynamo geometry elements don’t have categories.

If you want to know what type of element the Dynamo geometry is, you can use Object.Type

2 Likes

silly me. cheers

1 Like