HiddenLineDrawing Segment Visibility Recognition

Hi. I have asked this question twice but I got no answer so I would be so glad if any one could help me with this!
I am trying to use HiddenLineDrawing class to make a custom component. My component gets a block as an input and gives 4 Make2Ds as outputs from different views of that block. My problem is that when I set Segment Visibility to “visible”, it doesn’t seem to work correct and the result is wrong.
Does anyone know what the problem might be? Thanks.