How to render LINE particles in cycles render? I'm really struggling in visualizing line particles using cycles render...

I'm trying to visualize shortwave solar radiation in a city by using the LINE option (see figure) in the particle properties. I've also tried the OBJECT option, but when using this option the particles do not change direction when they collide with the mesh. 

However when using the LINE option, the particles will not render in cycles.. Does anyone know a workaround to this problem?

LINE option in viewport:



LINE option in render:
As of Blender 2.82, Cycles only renders Objects and Collections as particles (Blender docs link here)

However, here's a solution that might be helpful.

You can create an object shaped like a line (a long rectangle):


And then use it as the Object your particle system is rendered as. Set the rotation to orient along the velocity, and make sure to check "Dynamic" in the rotation section so it updates the rotation as the particles move or bounce.


Here's a quick view of what that generates:


Hope that helps someone Googling this in the future-