Subtract adaptive components from others

Hi Marcel! :slight_smile:
Of course I do not expect from somebody here to do my work.
Sometimes I just think its better to ask than trying to find for hours or days somehow the solution.
I managed now to control the void in my family through a parameter. And now I want Dynamo to calculate the angle between my lines (for example line from Block 1 and the line from the next Block 2) and fill the parameter with that value.
But for me its not getting calculated correctly I think.
For example at the second screenshot its a straight line. So the angle should be 0. But its calculating some other angle and so it cuts out something from my tunnel block.
Do you have any advice?

@RedRai

Give us something to work with, the Dynamo and Revit file would do :slight_smile: