Python Topography from FilteredElementCollector vs Selected Model Element

I would like to use python to select a Topography and convert to mesh.

The Topography.Mesh function works when I Select Model Element and input the Topograpghy element in to the python node, but does not work when I access the same topography through a Filtered Element Collector.

The .Mesh is a property of the Dynamo object where the topography is wrapped and not of the actual revit API topography object

If you want to use it you need to wrap the Revit object like this:


Using the ToDSType method. You’d need to import Revit.GeometryConversion to use it

3 Likes