Creating Revit Pipes in Automate

Hi Jonathon, regarding this… I have a script to generate Revit pipes. This creates regular native pipes in revit but in the speckle viewer I only see lines not pipes. Is there a way to see the pipes as pipes in the viewer? Thanks in advance.

The Speckle viewer doesn’t implicitly know what a pipe is, and the lines you see are the correct parametric definition of a Revit pipe.

However, a displayable object in the viewer has an additional displayValue prop, an array of displayable geometries, usually meshes. The Speckle Revit connector generates a mesh representation of Pipe when publishing from native revit.

It would be best to do this with a library referenced by your automate function. In most cases, I have found the greatest success with Trimesh (Python) and Helix (Csharp). These both have a singular method for “mystifying” an extrusion along a vector. Trimesh also has meshing from an extrusion along a path.

1 Like