Doors from CAD placement is incorrect

Hey community. I got a dynamo set up to create doors from CAD files. But sometime placements is not accurate. How can i make it correct?
door örnek.rvt (5.3 MB)
CAD_ (1).dyn|attachment (77.4 KB)

Zemin Kat - mimarr.dwg (147.6 KB)

ANd secondly how do i put a filter to be able to only get dots between CAD lines and wall intersection. On this example i am having all the dots so script create doors on that dots.

CAD_ (1)-Doors4.dyn|attachment (89.0 KB)