Civil 3d corridor to revit enviromnet

Have a read here, it applies also to CivilConnection PolylineExtensions.ObjectByGeometry