Hello.
I am creating a generic model family where I import Nurbs closed solid geometry.
After explodes the file I have a freeform element which i can further edit inside Revit family Environment.

This freeform has many hard edges which are visible when previewing the geometry:

The question is how Revit decides which of the internal edges, would be invisible and which not. I assume that it has to do with the angle of the adjacent faces, but is there a way to control this angle, or even select manual the invisible edges?

Inside project environment exists the invisible linework tool, but this is view specific not project specific. I don't know if there is a way via dynamo or API to control the linework tool.
Thank you.