Hi, in general, if your object type is not listed in that menu, you need to retrieve the object as a System.Object type object. Afterward, you can do a “cast” and put it into another variable with the object’s actual type.
The code will be something like
Revit.Element.Element elem= (Revit.Element.Element) revitElement;
or
Revit.Element.Element elem= revitElement as Revit.Element.Element;
I’m not sure I can make it work. It seems like I should get those elements directly as API elements, which means Autodesk.Revit.DB.Element (as Revit.Element.Element is usually the Dynamo cast):